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

Re: RE: Unterminated String Constant Error??

Subject: Re: RE: Unterminated String Constant Error??
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 25 Jul 2005 18:35:53 +0100
unterminated string constant javascript
On 7/25/05, Bruso, John <jbruso@xxxxxxxxxxxx> wrote:
> Thanks guys... I tried entering the special character &#13; to the
> XSL... I just added it in a few places. But, no carriage return. Do I
> need to enclose it in an XSL tag or something?
>
> I just put it before the HTML:
>
>     <xsl:template match="header">
>         <div id="page-header">
>             &#13;
>             <table width="100%" border="0" cellpadding="0"
> cellspacing="0">

It really isn't a problem if the entire output is on one line - if you
want formatted output use indent="yes" on xsl:output, it will at least
give you less code on the line it identifies as having an error.

The error you are getting is a javascript one, so examine the
javascript you are producing, you will most like have an *unwanted*
carriage return there (rather than a need to add some at random
elsewhere).

cheers
andrew

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.