Re: [xsl] XSL can be used as a DOM?

Subject: Re: [xsl] XSL can be used as a DOM?
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 16 Nov 2005 13:06:27 +0100
Sounds like it should be a rather trivial task in XSL.

Take a look at the following. The w3schools.com site has a tutorial on XSLT that might get you started with this:

http://www.w3schools.com/xsl/xsl_apply_templates.asp

Cheers,
Geert

Arulraj wrote:

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




-- Drs. G.P.H. Josten Consultant



Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.


Current Thread