S
sam
Hi,
In order to judge the quantity of tables in one section of word
document, I need to count the childnodes of one specific node in one
XML file first. Here is an XML file sample.
<?xml version="1.0"?>
<CATALOG>
<CD>
.....
</CD>
<CD>
.....
</CD>
<CD>
....
</CD>
</CATALOG>
I want to count how many CDs under the node---CATALOG. This also means
how many childnodes CATALOG have. Could you give me a sample code to
count it? Thank you in advance!!!
Best Regards
Sam
In order to judge the quantity of tables in one section of word
document, I need to count the childnodes of one specific node in one
XML file first. Here is an XML file sample.
<?xml version="1.0"?>
<CATALOG>
<CD>
.....
</CD>
<CD>
.....
</CD>
<CD>
....
</CD>
</CATALOG>
I want to count how many CDs under the node---CATALOG. This also means
how many childnodes CATALOG have. Could you give me a sample code to
count it? Thank you in advance!!!
Best Regards
Sam