Subject: RE: [xsl] name() of root element From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 01 Apr 2003 12:34:07 -0500 |
The XPath "/" does not return the document element (the element in which all others are contained), but the root node, which is an abstract higher-level container which contains everything (including any comments, etc., which do not fall within the document element). It has no name, it just is (nominalist metaphysics notwithstanding).
The fact that at the start of an XPath "/" means the root node, whereas anywhere else it is the step delimiter can be confusing.
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] name() of root element, Passin, Tom | Thread | Re: [xsl] name() of root element, David Carlisle |
[xsl] Grouping and Subtotals, David Petersen | Date | [no subject], David Alcantara |
Month |