Subject: RE: [xsl] XML Root Element From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 04 Mar 2005 17:39:44 -0500 |
Regards, Wendell
The top of the tree is a root node (1.0 terminology) or document node (2.0). This is what "/" refers to. It's not an element: it's the parent of the outermost element (and any comments and processing instructions that precede or follow the outermost element). The root node has no name.
The outermost element can be obtained using /*, and its name is name(/*).
====================================================================== 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] XML Root Element, Michael Kay | Thread | [xsl] date:add template, Breygin, Victor |
Re: [xsl] A sequence of more than o, Dimitre Novatchev | Date | Re: [xsl] escaping/entities on the , Kevin Rodgers |
Month |