Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Stumped on this XSLT [Thread Next] Re: Stumped on this XSLTTo: NULL Date: 10/5/2004 9:29:00 AM
<xsl:template match="Details">
That matches an element with local name Details and no namepace uri,
which doesn't match your source, change to
<xsl:template match="x:Details" xmlns:x="http://someuri">
then it will match.
<xsl:element name="ContainerGroup">
<xsl:attribute name="UNIT_ID_N">
<xsl:value-of select="UNIT_ID_N"/>
</xsl:attribute>
..
</xsl:element>
It would be simpler to write that as
<ContainerGroup UNIT_ID_N="{UNIT_ID_N}">
..
</ContainerGroup>
David
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
