Re: [xsl] Accessing the input document's @xmlns

> I'm trying to access the value "http://example.com/ns/ex#" given the
> value "ex", without the transform knowing a priori.

> Thanks for your time and consideration. Am I missing any other alternative?

sounds like you need namespace-uri-for-prefix() and possibly
in-scope-prefixes()

http://www.w3.org/TR/xpath-functions/#func-namespace-uri-for-prefix



-- 
Andrew Welch
http://andrewjwelch.com

Received on Friday, 14 December 2012 15:18:48 UTC