xsl-list
[Top] [All Lists]

Re: [xsl] 3 XSLT2 quickies

2006-03-17 09:34:21

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

no, like root nodes in Xpath1 they model external parsed entities rather
than (just) well formed document, so can have text or multiple element
nodes at top level. this is extremely common in xslt temporary trees,
consider

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

that (in xslt2) makes $x a document node with child a text node with
value "hello".

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>