[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] find the name of the child after root
Hi guys I try to get the name of the element, ChildElement1 which dynamically changes but ever occurs as the next child element after root (RootElement): <xsl:value-of select="/node()[1]/name()"/> As result, I get only the "RooElement" in output and not the ChildElement1 ! <RootElement version="2.1" name="Test"> <ChildElement1> <ChildElement2> <test>foo </test> </ChildElement2> </ChildElement1> </RootElement> Regards h.h
|
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
|