Hello,
I'm trying to produce another XML from an existing XML using XSLT (XML + XSLT = XML), and I'm experiencing namespaces issue. I'm new to this, so I guess the solution might be easy, anyways I'm still confused about handling this.
Scenario A:
---
XML input:
<metadata
xmlns="http://www.mycompany.com/schema/odsload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
XSLT:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
XML output:
Contains just data inside the XML input elements
Scenario B:
---
XML input:
<metadata xmlns
ds="http://www.mycompany.com/schema/odsload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
XSLT:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
XML output:
Ok, I've got a well structured XML
Can anybody tell me please what's going on?
Thanks!