W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

XML fragments in XSLT 2.0

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Tue, 19 Feb 2002 14:44:29 -0500
Message-ID: <3C72AB1D.9020009@metalab.unc.edu>
To: xsl-editors@w3.org
I notice that xsl:message is still defined to produce an XML fragment as 
it was in XSLT 1.0. This term is also used in section 16.1.3 where the 
spec states, "An extension function 
<http://www.w3.org/TR/xslt20/#dt-extension-function> can be used to 
convert the argument to a string or return an XML fragment to be copied 
to the result tree if desired." However, nowhere does the 1.0 or 2.0 
spec actually define the term "XML fragment".

I suspect it would be possible to write these two sections purely in 
terms of sequences, without reference to some nebulous concept of "XML 
fragment". However, if it isn't possible, then the spec needs to state 
precisely what it means by the words "XML fragment".

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|           The XML Bible, 2nd Edition (IDG Books, 2001)             |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:   http://www.cafeaulait.org/     | 
|  Read Cafe con Leche for XML News:  http://www.cafeconleche.org/   |
Received on Tuesday, 19 February 2002 16:40:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:52 UTC