When you say document node with a single text - do you really mean
that?
oh I always mean what I say, even though my fingers have been known to
type something else entirely....
Yes I meant a document node with a text node child, ie the same thing you'd
get from
<xsl:variable name="x">
one two three
</xsl:variable>
The XPath document model (even at 1.0) has always made specific
allowance for document nodes to contain 0 or more than 1 element,
something that can't be achieved by parsing a well formed XML file, but
which arises naturally in many XSLT constructs (and is allowed in an
external parsed entity file in xml generally).
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--