Um ein mit MSXML erzeugtes XML-Documekt mehrzeilig zu machen,
benutze ich die folgende XSL-Transformation (copy.xsl):
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl
utput method="xml" indent="yes" encoding="ISO-8859-1" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Diese funktioniert mit Saxon auch mit Namespace-Prefixes in der XML-Datei,
mit MSXML jedoch nur ohne.
Wie muss die XSL-Transformation geändert werden, damit sie auch
mit MSXML funktioniert?
benutze ich die folgende XSL-Transformation (copy.xsl):
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl
![Peinlichkeit](https://entwickler-forum.de/core/images/smilies/redface.png)
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Diese funktioniert mit Saxon auch mit Namespace-Prefixes in der XML-Datei,
mit MSXML jedoch nur ohne.
Wie muss die XSL-Transformation geändert werden, damit sie auch
mit MSXML funktioniert?
Comment