Subject: Re: [xsl] @xmlns retrieving value of From: George Cristian Bina <george@xxxxxxxxxxxxx> Date: Tue, 12 Sep 2006 10:57:31 +0300 |
Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
Hi I'm hoping somebody might have some insight.
Saxon 8 XSLT 2
Here is a sample piece of xml to help get the idea of what I'm trying to achieve.
<root> ... <p xmlns:anElem="http://www.namespace.com/namespaces/anElem">this is a test to retrieve the namespace uri and name.</p> ... </root>
I've been trying to get the namespace and uri from the @xmlns with no success. I would like to reuse both the ns and uri when I transform the p into something like <newDoc> ... <anElem:para xmlns="http://www.namespace.com/namespaces/anElem">this is a test to retrieve the namespace uri and name.</anElem:para> ... </newDoc>
I've used
namespace-uri() name() namespace-uri-for-prefix() namespace-uri-from-QName()
I'm pretty sure the last 2 were being used inappropriately
Any ideas or solution would be appreciated.
Thanks
Marijan Madunic
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] @xmlns retrieving value of, Mario Madunic | Thread | Re: [xsl] @xmlns retrieving value o, Mario Madunic |
[xsl] Problem using recursive apply, Allison Bloodworth | Date | Re: [xsl] Transforming Learning Obj, Jaebin Lee |
Month |