Re: MS XSL Variables

Subject: Re: MS XSL Variables
From: Bill Martschenko <billmartschenko@xxxxxxxxx>
Date: Sat, 23 Oct 1999 14:36:48 -0700 (PDT)

Nicholaj,

Try calculating the _expression_ on the fly.  I used the following XSL with success on IE5.

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

<xsl:template match="/">
  <xsl:eval>this.selectSingleNode("bdml/data/" + this.selectSingleNode("bdml/dd/@item").value).text</xsl:eval><br/>
</xsl:template>

</xsl:stylesheet>

Bill

 

 

Nicholaj Broberg <nicholaj.broberg@xxxxxxxx> wrote:

Hi all,

I'm using MS XSL processor and have a problem. It's like this:
When using newer XSL processors I can write:
...






....
for the following data:




Something



But in MS XML I cant use the xsl:variable. What can I do?
I have to use MS XSL because it is the only one I can use with ASP which is
a requirement in the project. Is there any other processors that can be used
with ASP?

Sincerely

Nicholaj Broberg


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Do You Yahoo!?
Bid and sell for free at Yahoo! Auctions.
Current Thread