|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL 1.1 -> Asking for an attribut namespace
> "name() should return the lexical QName of the attribute, that is > 'fo:text-align'" > > I checked this with the Oxygen Debugger. The returned string ist just > "text-align" You shouldn't be relying on the namespace prefix returned by name(), because users can choose any prefix that they like. However, the XSLT processor is not allowed simply to drop the prefix. XPath 2.0 says that the original prefix is maintained; XPath 1.0 gives you a weaker guarantee that you will get, if not the original prefix, then some other prefix that is bound to the same URI in your source document. If you want to pursue this further you need to supply a small source document and stylesheet that demonstrate the problem, and indicate which XSLT processor/version you are using. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. 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
|







