[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: embedding xsl within javascript

Subject: Re: embedding xsl within javascript
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Jul 2004 16:39:34 +0100
xsl syntax within javascript
> 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.

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.