Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove namespace attribute in the output xml file

Status
Not open for further replies.

abelkina

Programmer
Dec 4, 2003
2
US
Hello,
I think I have troubles with the namespace in the elements and attributes declaration, but don't know how to resolve it.
I have to transform one type of xml file to the other type of xml file.
In my input file I have the following declaration:
xmlns:xsi=" xsi:noNamespaceSchemaLocation="abc.xsd">
In the stylesheet I am changing the document declaration using the following: <xsl:eek:utput method = &quot;xml&quot; doctype-system = &quot; />

As a result, in the resulting xml file each element has the attribute xmlns:xsi=&quot; I don't need it! What is the problem, and how to get read of those attributes?
Thank you very much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top