This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
evaluate()
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] evaluate()
- From: "Kerr, David" <KerrDA at bankofbermuda dot com>
- Date: Tue, 13 Mar 2001 18:40:21 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
hi
I am trying to get a node back from a constructed string in the
TypePath var but
understandably the constructed string is retuned not the data in the node
I have to use MSXML3 and I cant seem to find an evaluate function or a work
around
perhaps im barking up the wrong tree
perhaps this is a really silly question
cheers for looking
davidk
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
<xsl:template match="*">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="/">
<table class="DLG" border="1">
<xsl:apply-templates select="xml/rs:data"/>
</table>
</xsl:template>
<xsl:template match="z:row">
<xsl:if test="@*">
<tr>
<xsl:for-each select="@*">
<xsl:variable name="TypePathOld"
select ='concat("/xml/rs:data/z:row/","@",name())'/>
<td nowrap='true' >
<xsl:value-of
select="$TypePath"/>
<xsl:value-of select="."/>
</td>
</xsl:for-each>
</tr>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
**********************************************************************
This message and any files transmitted with it are confidential and
may be privileged and/or subject to the provisions of privacy legislation.
They are intended solely for the use of the individual or entity to whom they
are addressed. If the reader of this message is not the intended recipient,
please notify the sender immediately and then delete this message.
You are notified that reliance on, disclosure of, distribution or copying
of this message is prohibited.
Bank of Bermuda
**********************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list