[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: self axis and attributes
The following seems (to me) a little bit simpler: //@*[count(//@dem:count| .) != count(//@dem:count)] Dimitre Novatchev. ------------- Original Message ------------ > Am I missing something? Is there any way of testing the identity of > namespaced attributes while retaining independence between the source > and stylesheet and without testing the namespace-uri()? You're not missing anything, except the self-attribute axis that the language designers forgot to put in the spec. You just have to test local-name()="x" and namespace-uri()="y" Mike Kay __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|