Subject: XSL can be used as a DOM?
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Wed, 16 Nov 2005 03:09:30 -0800 (PST)
|
Hello,
I have question. Is the XSL can be used as a DOM?
traversing the XML content.
Exampel:
I have the following XML fragment as follows:
<office>
<ordered-list style-name="L1">
<list-item>
<h style-name="P1" level="1">Application:Die
application</h>
</list-item>
</ordered-list>
<table name="Tabelle1" style-name="Tabelle1">
<p style-name="Text">sequency</p>
</table>
......
</office>
In the above xml, i should start with <Order-list>
element and if it has child, traverse the child and
accessing the text() of <h> and coming out to parent
one by one and accessing the next sibiling of
<ordered-list> like that..
Regards,
Raj
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
|