Subject: [xsl] Getting the root namespace from the input document From: San <san_sar@xxxxxxxxx> Date: Mon, 5 Feb 2007 03:53:14 -0800 (PST) |
Hi all, Have one problem that can't be solved, I hope can get help from you guys. Also, I need to get the namespace from the input document and put it into the root element. For example the input root document : <manifest xmlns:ex="http://www.exercise.com" xmlns:adlcp="http://www.adlnet.org/xsd"/> the desired output (added namespaces in the root element) <Metadata xmlns:ex="http://www.exercise.com" xmlns:per="http://www.adlnet.org/xsd"> .... </Metadata> How do I add this namespaces, since I can't do it manually?Which xpath that access the root and tell it to add the namespaces? I am grateful if you could help me. Thanks in advance san ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 99 bottles of beer, M. David Peterson | Thread | Re: [xsl] Getting the root namespac, Andrew Welch |
[xsl] 99 bottles of beer, Andrew Welch | Date | Re: [xsl] Getting the root namespac, Andrew Welch |
Month |