Re: [xsl] embedding xsl within javascript

Subject: Re: [xsl] embedding xsl within javascript
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Jul 2004 16:39:34 +0100
> it came from the english dictionary ;)

I meant that using "so" implies that you gave a cause but you just
said "so it didn't work" with no cause given.

> the 2nd one. 

ie literally {$ImgDir}

then either you've a very broken XSLT engine (in
which case no suggestions as to the xslt way of doing things will help)
or you are not using the syntax inside an attribute value, possibly
because of some other part of the styleshet that you didn't show, eg
damage done by a CDATA section.

> erm why not? 

Because you can't debug your XSLT based on the browser view (or at least
it's hard) If for example the browser just shows a blank screen, all you
know is that the html generated is wrong, it's a bit hard to debug teh
xslt just from that info. If on the other hand you look at the file and
it says <wibble> then you know that wible isn't an html element and you
can find out why the stylesheet is producing it.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread