Subject: Re: Accessing the input document's @xmlns
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 14 Dec 2012 15:18:15 +0000
|
> 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
|