Re: Re: [XSL] Two "Philisophical" questions about the
> But I do also share Michael's point of view, and see > as a limitation the fact that we can have only one document element. Note though that is a limitation of the textual XML document syntax, not of the XPath (XDM) document model. In Xpath you can have any number of element children under the root and a match pattern of /* is perfectly legal and matches the second of them. <xsl:variable name="x"/> <a/> <b/> </xsl:variable> constructs (directly in xst2 or via x:node-set() in xslt 1) a document with three nodes a document node / which has two child element nodes a and b. The result of an XSLT transform can be such a document node, which can not be serialised as an XML document but can be (and is) serialised as an external parsed entity. 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. ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format