Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] how to xpath the *value* of an attribute based on value of [Thread Next] RE: [xsl] how to xpath the *value* of an attribute based on value ofTo: <xsl-list@-----.------------.---> Date: 7/1/2009 6:21:00 PM > Turns out you are right - I had been using oxygen's xpath > evaluator and it kept returning the whole node rather than > the attribute value I wanted, and I perhaps foolishly trusted > to that. In fact your expressions do return the attribute node, not the contents of the node. But if you use an expression whose value is a node in a context where a value is expected, then the "value of the node" is extracted automatically. XPath 2.0 calls this process "atomization". Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay --~------------------------------------------------------------------ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/ or e-mail: <mailto:xsl-list-unsubscribe@l...> --~-- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
