RE: Test for node name and attribute value
> Thanks for you reply. > I don't know why but node matches don't work when I use the simple > syntax: > > my-relation > > instead of > > node()[name(.)='my-relation' > > Is there something wron with my xsl transformer? Given that you have been asking fairly elementary XPath questions, it seems more likely that the error is on your side. Show us a full example of what you are doing, and we'll tell you where it's wrong. Michael Kay http://www.saxonica.com/
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