Subject: RE: [xsl] Benefits of xsl.sequence From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Tue, 30 Sep 2008 08:47:55 +0200 |
Jesper, One simple answer is that it allows multi-step processing. You can call apply-templates and store the result in a variable. The contents of the variable is reusable in further apply-templates and for-eaches, without the need to call parser-dependent implementations of node-set functions. Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 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. > From: jesper.tverskov@xxxxxxxxx > [mailto:jesper.tverskov@xxxxxxxxx] On Behalf Of Jesper Tverskov > Sent: dinsdag 30 september 2008 8:23 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Benefits of xsl.sequence > > Hi > > I understand the benefits of sequences in XSLT 2.0 when they > work like arrays, and I understand the difference between > xsl:value-of creating a text node and xsl:sequence creating > atom values. But do we have good examples proving that the > last in many situations like in xsl:function is much more > efficient or have other benefits? > > > Best regards, > Jesper Tverskov > > http://www.xmlkurser.dk > http://www.xmlplease.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Benefits of xsl.sequence, Jesper Tverskov | Thread | [xsl] Re: Benefits of xsl.sequence, Vladimir Nesterovsky |
[xsl] Benefits of xsl.sequence, Jesper Tverskov | Date | [xsl] Re: Benefits of xsl.sequence, Vladimir Nesterovsky |
Month |