|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to xpath the *value* of an attribute based on
> 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
|
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
|






