Michael Kay writes:
<xsl:if test="*[1]/VALUE/text() = 'AA'
It's rarely a good idea to use /text() in this kind of comparison: better to
compare the value of the element itself:
test="*[1]/VALUE = 'AA'
Can I then infer that I should refactor this test expression
org_list/org_code[(_at_)type='APPR' and text()='ANSI']
to
org_list[org_code(_at_)type='APPR' and org_code='ANSI']
Thanks,
--
Kevin Rodgers
--~------------------------------------------------------------------
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>
--~--