Subject: Prefix -> Namespace Resolution
From: "Christopher Dix" <chris@xxxxxxxxxxxxxxx>
Date: Mon, 15 Jul 2002 08:59:26 -0400
|
Is there a way to determine the namespace URI associated with a given
prefix while processing a document? I realize that namespace-uri will
give me the URI if I have an element. In my case, I have an attribute
value that is a Qname, and I need to determine what the URI is for that
value. For example:
<doc xmlns:x="http://someuri.org/">
<foo myAttribute="x:myVal"/>
</doc>
In the course of processing, I will discover the value of myAttribute
for element foo, and I need to determine the namespace URI associated
with prefix x. I appreciate any help you can give me.
Thanks,
Chris Dix
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: XSLT & SQL, (continued)
- Hunsberger, Peter - Thu, 11 Jul 2002 17:30:52 -0400 (EDT)
- E L - Thu, 11 Jul 2002 17:41:11 -0400 (EDT)
- Michael Kay - Fri, 12 Jul 2002 04:27:54 -0400 (EDT)
- Christopher Dix - Mon, 15 Jul 2002 09:09:16 -0400 (EDT) <=
- Michael Kay - Mon, 15 Jul 2002 09:46:24 -0400 (EDT)
- David Carlisle - Mon, 15 Jul 2002 10:16:54 -0400 (EDT)
- Hunsberger, Peter - Thu, 11 Jul 2002 18:05:30 -0400 (EDT)
|
|