xsl-list
[Top] [All Lists]

Re: XSL can be used as a DOM?

2005-11-16 05:06:27
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>