This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: the OTHER attributes with XPath


> I can pull off the "PERSON" node which contains an attribute named
> "NAME":
> 
> 	xpath: //PERSON[name(@NAME)='NAME']
> 
> or any "PERSON" node that does NOT contain the attribute "NAME":
> 
> 	xpath: //PERSON[not(name(@NAME)='NAME')]
> 
> or all the attributes of "PERSON":
> 
> 	xpath: //PERSON/@*
> 
> but I don't know how to get all the attributes except "NAME".


//PERSON/@*[not(name() = 'NAME')]




=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]