xsl-list
[Top] [All Lists]

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

2007-11-21 11:47:28
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(_at_)ercot(_dot_)com
512 248 4535 (office)
Nodal Integration Test Automation
Electric Reliability Council of Texas, Inc.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>