Subject: Re: Associating namespace prefix with namespace URI
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 May 2001 15:35:32 +0200 (MET DST)
|
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@xxxxxxxxxxxxxxxxxxxxxxx |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|