This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Associating namespace prefix with namespace URI
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Associating namespace prefix with namespace URI
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Thu, 17 May 2001 15:35:32 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Iain
> Is there any way to pick up which namespace URI is associated with a
> particular namespace prefix?
If that namespace is in scope for the context element then you can use
the namespace axis:
string(namespace::*[name()=substring-before(current()/@type,':')])
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list