[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: find the name of the child after root
On 06/11/2013 11:55, henry human wrote:
/node()[1]/name() selects the name of the first child node of / which will always be the name of the top level element in a well formed document unless there is a comment or processing instruction before the document element in which case it will be the name of the PI or "" for a comment. You want /*[1]/*[1]/name() David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|