[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Getting the root element.


Subject: Re: [xsl] Getting the root element.
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: 24 Jul 2003 12:09:21 +0200

On Thu, 2003-07-24 at 11:51, Simon Kelly wrote:
> Q:
> When deep within the structure (In my case recursing down a branch) what it
> the most elegent way of getting the document root node?

The document root is just "/" and the document element (sometimes called
"root element") is "/*".

Hope this helps.

Eric (wondering if this is elegant!)
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords