xsl-list
[Top] [All Lists]

Re: Getting the root element.

2003-07-24 03:09:21
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



<Prev in Thread] Current Thread [Next in Thread>