Hallo, ich habe ein XMI-File welches wie folgt aussieht:
Wie kann ich mit XSL XMI-Code darstellen, sind Doppelpunkte im Namen ein Problem ?
Bin um jede hilfe Froh.
bubu
Code:
<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3" timestamp="2006-03-10 15:06:52">
<XMI.header>
<XMI.documentation>
<XMI.exporter>Enterprise Architect</XMI.exporter>
<XMI.exporterVersion>2.5</XMI.exporterVersion>
</XMI.documentation>
</XMI.header>
<XMI.content>
<UML:Model name="EA Model" xmi.id="MX_EAID_563D6D1E_9BF1_43ff_8BAA_B9B6D0E5EF72">
<UML:Namespace.ownedElement>
Wie kann ich mit XSL XMI-Code darstellen, sind Doppelpunkte im Namen ein Problem ?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:UML="omg.org/UML1.3" >
<xsl:template match="XMI">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="XMI.content">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="UML:Model">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
Bin um jede hilfe Froh.
bubu