[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL can be used as a DOM?

Subject: Re: XSL can be used as a DOM?
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 16 Nov 2005 13:06:27 +0100
html dom traverse ordered list
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.