Project

Profile

Help

counting specific elements » tab-list.xml

input XML - Mark Hutchinson, 2025-01-13 22:07

 
<?xml version="1.0" encoding="UTF-8"?>
<zap>
<row>
<entry>
<p CC="1">TOPIC #1 - Unordered Lists</p>
</entry>
<entry>
<p CC="1">asdfasdf</p>
<ul CC="2">
<li index="1">UL Level 1 AAA</li>
<li index="2">UL Level 1. BBB</li>
<ul CC="3">
<li index="1">UL Level 2. CCC</li>
<li index="2">UL Level 2 DDD</li>
<p CC="4">zxcvzxcv</p>
<p CC="5">qwerqwer</p>
<ul CC="6">
<li index="1">UL Level 3 EEE</li>
<li index="2">UL Level 3 FFF</li>
</ul>
<li index="3">UL Level 2 GGG</li>
</ul>
<li index="3">UL Level 1 HHH</li>
</ul>
</entry>
</row>
<row>
<entry>
<p CC="1">TOPIC #2 - Ordered Lists</p>
</entry>
<entry>
<ol CC="1">
<li index="1" value="1">OL Level 1. AAA</li>
<li index="2" value="2">OL Level 1. BBB</li>
<ol CC="2">
<li index="1" value="1">OL Level 2. CCC</li>
<li index="2" value="2">OL Level 2. DDD</li>
<ol CC="3">
<li index="1" value="1">OL Level 3 EEE</li>
<ol CC="4">
<li index="1" value="1">OL Level 4 FFF</li>
<ol CC="5">
<li index="1" value="1">OL Level 5 GGG</li>
</ol>
</ol>
</ol>
<li index="3" value="3">OL Level 2. HHH</li>
</ol>
<li index="3" value="3">OL Level 1. III</li>
</ol>
</entry>
</row>
</zap>
(2-2/3)