Re: [xsl] XSL within HTML javascript

Subject: Re: [xsl] XSL within HTML javascript
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 1 Dec 2002 10:22:17 GMT

> Now, my problem is that when the parser (MSXML 3) goes through this part
> of the XSL, it doesn't parse it -- it just spits out what's within the
> <script></script> tags.

if the xsl:apply-templates appears verbatim in the result then most
likely you haven't told us the whole story.
Have you put something inside a CDATA? The purpose of CDATA sections is
to prevent parsing...
{$base} wouldn't work in any case: you can't use attribute value
templates in element content, that should be <xsl:value-of
select="$base"/>



David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread