M
mike
I have an xml structure like:
<data>
<struct>1,8,7,30</struct>
</data>
and I need to develop a test that finds this node in each of these
cases, something like:
should find because 1 is in the node
<xsl:if test="struct='1'">
should find because 1 and 8 is in the node
<xsl:if test="struct='1,8'">
should find because 1 and 8 and 7 is in the node
<xsl:if test="struct='1,8,7'">
should find because 1 and 8 and 7 and 30 is in the node
<xsl:if test="struct='1,8,7,30'">
any help is appreciated.
Mike
<data>
<struct>1,8,7,30</struct>
</data>
and I need to develop a test that finds this node in each of these
cases, something like:
should find because 1 is in the node
<xsl:if test="struct='1'">
should find because 1 and 8 is in the node
<xsl:if test="struct='1,8'">
should find because 1 and 8 and 7 is in the node
<xsl:if test="struct='1,8,7'">
should find because 1 and 8 and 7 and 30 is in the node
<xsl:if test="struct='1,8,7,30'">
any help is appreciated.
Mike