Help with XSLT: xmi:type="{@xmi:type}" (plz help)
In the sample below, the code xmi:type="{@xmi:type}" always generates the error "javax.xml.transform.TransformerException: Prefix must resolve to a namespace: xmi"
How can i solve this (how can i get the value of a attribute named "@xmi:type") ?
(name="{@name}" works fine, the only problem is the xmi:type="{@xmi:type}")
Plz help, i really need this :-p
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" method="xml" encoding="UTF-8"/>
<xsl:template match="ownedMember">
<ownedMember name="{@name}" xmi:type="{@xmi:type}"/>
</xsl:template>
</xsl:stylesheet>
|