I've posted a "Spooky Magic" message with a full example.
In summary the XPATH that we want is defined in an XML document (along
with the page content - i.e. the words aroung the data):
<bdata src="/mydata/myname"/>
and the template "bdata" does
<xsl:value-of select="get_node($src)"/>
(I know this could be one step)
and my java
<msxsl:script language="JScript" implements-prefix="cache">
<![CDATA[
function get_node(srcValue)
{
return srcValue.item(0).selectNodes(srcValue.item(0).text);
Quote:}
]]>
</msxsl:script>
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!