xsl-list
[Top] [All Lists]

RE: [xsl] 3 XSLT2 quickies

2006-03-17 09:11:51
Stand by; can a document node ever, every contain text nodes?

Aren't the specified in XDM or even Infoset, to only have element 
(exactly one), child or processing-instruction children?


Whenever you write

<xsl:variable name="x">banana</xsl:variable>

you are creating a document node that is the parent of a single text node.

Michael Kay
http://www.saxonica.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>
--~--

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