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

Re: XSLT 2.0: When to use xsl:sequence, when to use x

Subject: Re: XSLT 2.0: When to use xsl:sequence, when to use xsl:value-of, and why?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sat, 16 Jun 2007 09:49:17 -0700
Re:  XSLT 2.0: When to use xsl:sequence
The difference is as that between the XSLT 1.0 instructions

    <xsl:copy-of.../>
and
    <xsl:value-of .../>


but of course, <xsl:sequence .../> does not produce copies of any nodes in the sequence selected by the Xpath expression specified in its "select" attribute. Instead, it uses "references" to the original nodes.


-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play


On 6/16/07, M. David Peterson <m.david@xxxxxxxxxxxxx> wrote:
Hi Everyone,

In a recent conversation with someone in whom just so happens to know a
thing or two about this kind of stuff (Dr. Kay), I have been left
pondering the question specified in the subject line,

In XSLT 2.0, when should I use xsl:sequence, when should I use
xsl:value-of, and why?

Thanks in advance for helping me better understand this!

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155

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.