Re: [xpath] namespace prefix & attributes
I have a question concerning XPath and the use of namespace prefix to target attributes.
There is no param attribute in the urn:fo:ob namespace in your example ... "Namespaces in XML" states that unprefixed attributes are always in no namespace, and not in the default namespace.
Your question is an XML question, not an XSLT question.
As far as I know, XPath 1.0 does not support namespace prefixes to address attribute nodes.
Using namespace prefixes is the only way to address attribute nodes that are in a namespace.
I hope this helps.
-- World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
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