Re: [xsl] XSLT and XML in the same document

Subject: Re: [xsl] XSLT and XML in the same document
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 29 May 2007 10:23:10 +0100
On 5/29/07, Julian Reschke <julian.reschke@xxxxxx> wrote:
Sufficient yes, but still a pain. The problem is that you can't do
something like:

<xsl:variable name="foo">
   <xsl:choose>
     <xsl:when test="function-available(...)">
        ...


</xsl:choose> </xsl:variable>

It's been a while since I bothered with this, but I think the pattern goes something like:

<xsl:variable name="foo-rtf">
....
</

and

<xsl:variable name="foo">
 <xsl:choose>
   <xsl:when test="function-available(...)">
....

I guess its good that people persist with client side XSLT (as one day
it might be worthwhile), but I reckon its just a hangover from the
original intentions of XML.

The sooner you move your transforms server side, the better imho.

cheers
andrew

Current Thread