On 11/11/2012 13:01, Costello, Roger L. wrote:
<xsl:template match="Document">
<xsl:variable name="here" select="." />
<xsl:for-each select="$xpaths//xpath">
<xsl:variable name="xpath" select="." />
<xsl:for-each select="$here">
<xsl:evaluate xpath="$xpath" as="xs:boolean" />
</xsl:for-each>
</xsl:for-each>
</xsl:template>
No idea about relative efficiency but I think that's th esame as
<xsl:template match="Document">
<xsl:evaluate xpath="string-join($xpaths//xpath,',')"
as="xs:boolean*" />
</xsl:template>
David
--
google plus: https:/profiles.google.com/d.p.carlisle
--~------------------------------------------------------------------
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>
--~--