S
schaf
Hello NG!
I would like to transform a XML-File into an new XML-File with
additional information. That's no problem, but my source XML-File has a
root element with a xmlns definition. Like this
<Header xmlns="http://www.myHeader.ch/TestHeadrer">
If i would like to copy this tag, with the following xsl-code, nothing
is working:
<xsl:template match="Header">
<xsl:copy/>
</xsl:template>
If i delete the namespace definition in the XML-Header tag, it works.
But what do I have to do, that my XSL-File knows the Header-Tag and the
namespace ?
Thanks
I would like to transform a XML-File into an new XML-File with
additional information. That's no problem, but my source XML-File has a
root element with a xmlns definition. Like this
<Header xmlns="http://www.myHeader.ch/TestHeadrer">
If i would like to copy this tag, with the following xsl-code, nothing
is working:
<xsl:template match="Header">
<xsl:copy/>
</xsl:template>
If i delete the namespace definition in the XML-Header tag, it works.
But what do I have to do, that my XSL-File knows the Header-Tag and the
namespace ?
Thanks