W3C home > Mailing lists > Public > public-prov-comments@w3.org > December 2012

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

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Fri, 14 Dec 2012 15:18:15 +0000
Message-ID: <CAEG2duAvvrDcxvERa5w+T4mocy4Nvi5-mMi7-r_Vggh2LyA1xg@mail.gmail.com>
To: xsl-list@lists.mulberrytech.com
Cc: public-prov-comments@w3.org
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 December 2012 15:18:48 GMT