|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [XSLT/newbie]value-of attributes of the root node
> I am trying to get the value of an attribute of the root node The "root node" in XPath is not an element, and it does not have attributes. It is not the same as what the XML spec calls the "root, or document element"; rather it is the parent of this element, the equivalent of what DOM calls the Document node. To get an attribute of the outermost element, use "/*[@name]" You are not the only one confused by this inconsistency of terminology between different W3C standards. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








