[xsl] number of child nodes in xml and their names

Subject: [xsl] number of child nodes in xml and their names
From: "Nistala, Anu" <anistala@xxxxxxxxx>
Date: Wed, 21 Nov 2007 12:46:41 -0600
Hi friends,

Is there a way to find out the number of nodes and the corresponding
names of all the child nodes under a specified parent?

Below is a sample xml....


<?xml-stylesheet type="text/xsl" href="todropdown.xsl"?>
<FunctionCatalogue>


<!--This Function header is read from fileCMMDataInOutFL.vbs.-->
 <Function>
     	<ID>1</ID>
     	<FunctionType>DataInOut</FunctionType>
     	<FunctionName>flDIOCPAutoFilter</FunctionName>
     	<Description>This function returns dynamic string based on
string and test script name 	passed to it.</Description>
	<Inputs>ExpectedText, TestScriptName</Inputs>
	<Example>Call
flDIOCPAutoFilterExpectedText,TestScriptName</Example>
	<Outputs>Dynamically created newExpectedText</Outputs>
	<CreatedBy>Ujwal Maskey</CreatedBy>
	<CreatedDate>07/26/2007</CreatedDate>
	<ReviewedBy>Reviewers Names</ReviewedBy>
	<ReviewDate>MM/DD/YYYY</ReviewDate>
</Function>
-
-
-
-
-

</FunctionCatalogue>


Thanks!
Anu Nistala
anistala@xxxxxxxxx
512 248 4535 (office)
Nodal Integration Test Automation
Electric Reliability Council of Texas, Inc.

Current Thread