RE: [xsl] Test for node name and attribute value

Subject: RE: [xsl] Test for node name and attribute value
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 13:50:39 -0000
> 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/ 

Current Thread