D
Dave
i must be going cross eyed after looking at this for so long... given the
source xml doc:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<root>
<table tagname="tablename1">
<tablename1 rownum="0">
<field1>1</field1>
</tablename1>
</table>
<table tagname="tablename2">
<tablename2 rownum="0">
<field1>11</field1>
</tablename2>
</table>
</root>
and the transform:
<xsl:template match="@*|node()">
<xsl:if test="contains(@tagname,tablename1) ">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:if>
</xsl:template>
why does it give me tablename2 in the output instead of tablename1??
it does the same thing with both msxsl and access's external data import
transform.
source xml doc:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<root>
<table tagname="tablename1">
<tablename1 rownum="0">
<field1>1</field1>
</tablename1>
</table>
<table tagname="tablename2">
<tablename2 rownum="0">
<field1>11</field1>
</tablename2>
</table>
</root>
and the transform:
<xsl:template match="@*|node()">
<xsl:if test="contains(@tagname,tablename1) ">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:if>
</xsl:template>
why does it give me tablename2 in the output instead of tablename1??
it does the same thing with both msxsl and access's external data import
transform.