Subject: Re: [xsl] Can a single XPath statement duplicate the functionality of this verbose <xsl:choose> statement? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 25 Oct 2011 10:24:03 -0400 |
Note that in the XDM model used by XPath 2.0 and XSLT 2.0:
(a) a document node can have multiple element children
(b) any node (document nodes, element nodes, even text nodes) can be parentless, and thus be the root of a tree
although neither of these conditions will arise in a tree that results from parsing well-formed XML.
Cheers, Wendell
-- ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can a single XPath statem, Mark | Thread | Re: [xsl] Can a single XPath statem, Mark |
[xsl] XSL-FO meetup @ XML Prague 20, Tony Graham | Date | [xsl] Saxon CE demo: handling TEI P, Wendell Piez |
Month |