Hello,
Is it possible to invoke a select or test or other xpath query from
the value found within a variable or param?
So:
<xsl:call-template name="mytest">
<xsl:with-param>/root/document[(_at_)name='monkeys']"</xsl:with-param>
</xsl:call-template>
<xsl:template name="mytest">
<xsl:param name="test">/root/document[(_at_)name='monkeys']"</xsl:param>
<xsl:if test="$test">PASS</xsl:if>
</xsl:template>
- ALSO -
How can you create a key for the following, where "ABC" and "XYZ" and
"xxx" are all the values I'd like to supply to the key for matching:
/root/recordset[(_at_)rsName='ABC']/record[field[(_at_)fieldname='DEF'] = 'xxx']
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--