HI
I would like to detect the level of an element in according to his root.
Quote:
quote:
<Issue issueID="" composer="" date="">
<Proposition composer="" date="" level="1" actname="proposition">
<Agreement composer="" date="" level="2"></Agreement>
</Proposition>
</Issue>
|
Suppose that I want to output all elements nested just in the "Issue" element and not in it's sub element and I also don't know their name(Proposition is an example and I have to be able to output even if it changes).
How can I output an element considering the only information I have that element is it's level(from the root), by the way of an attribute("level").
Thanks in advance
Ali