1
General Board / Re: XSL Stylesheets for XMI Export
« on: April 02, 2010, 12:18:31 am »
Sparx Systems suplied the following information.
If you export a package with the "Format XMI Output" option is not selected, you will see that the resulting XML is .... not formated.
If you apply the following XSL Template while the "Format XMI Output" options is not selected, you will see that the resulting XML is formated by the XSL Template.
If you export a package with the "Format XMI Output" option is not selected, you will see that the resulting XML is .... not formated.
If you apply the following XSL Template while the "Format XMI Output" options is not selected, you will see that the resulting XML is formated by the XSL Template.
Code: [Select]
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="UTF-8" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>