Does Flex provide any way to find out the depth of a given node in an
XML.
For example, if XML is
<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<node label="Session">
<node id="session_query1" label="DTM Buffer Size" />
<node id="session_query2" label="Buffer Block Size"/>
<node id="session_query3" label="Enable Test Load"/>
</node>
<node label="Workflow" >
<node id="workflow_query1" label="Enable HA Recovery"/>
<node id="workflow_query2" label="Suspend on Error"/>
</node>
<node label="Mapping" >
<node id="mapping_query1" label="SQL Override in SQ " />
<node id="mapping_query2" label="SQL Override in lookup" /
>
</node>
</root>
Assuming that root node is at depth 0, I should get the depth of the
highlighted node as 2.
Thanks in Advance
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.