[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: "Bruso, John" <jbruso@xxxxxxxxxxxx>
Date: Mon, 25 Jul 2005 09:59:08 -0600
unterminated string constant
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">




-------------------------
John Bruso
Web Developer
ph  307.674-6446-2608







-----Original Message-----
From: JBryant@xxxxxxxxx [mailto:JBryant@xxxxxxxxx]
Sent: Monday, July 25, 2005 9:58 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  RE: Unterminated String Constant Error??

One way to add white space characters is to include the literal
characters
in an xsl:text instruction. So, to add two carriage returns, create an
xsl:text instruction, put the cursor in it, and press Enter twice, thus:

<xsl:text>

</xsl:text>

The other way is to use the character entities for carriage returns, as
someone already mentioned.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)



"Bruso, John" <jbruso@xxxxxxxxxxxx>
07/25/2005 10:44 AM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc

Subject
 RE: Unterminated String Constant Error??






Can someone tell me what is wrong with my XSL? I keep getting this
annoying Javascript: Unterminated String Constant Error, Line 2 on some
instances of the XSL output.

It appears that the HTML output doesn't have enough carriage returns in
the code. How can I add carriage returns to the XSL without adding <br/>

tags that will mess up my layout??

For example, this is the first 3 lines of the HTML output:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html><head><title>uPortal 2.5.0</title><link href="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/immII.css
" rel="stylesheet" type="text/css"><link href="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/eservices-common.css
" rel="stylesheet" type="text/css"><link href="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/orange.css
" rel="stylesheet" type="text/css"></head><body
class="myvt-page-orange"><div id="page-header"><table cellspacing="0"
cellpadding="0" border="0" width="100%"><tr><td valign="top"
width="100%"><table background="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/top_blue_bar_bg.gif
" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td
rowspan="2" width="2"><img height="22" width="2" alt="" src="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/spacer.gif
"></td><td><a class="font_toprightbar" href="http://www.sheridan.edu
">&lsaquo;&lsaquo; Back to College
                                        Home-Page</a></td><td
width="100%"><div class="align-right"><a class="font_toprightbar" href="
http://www.sheridan.edu/offices/">Offices</a> | <a
class="font_toprightbar" href="http://www.sheridan.edu/catalog/
">Catalogs</a> | <a class="font_toprightbar" href="
http://www.sheridan.edu/catalog/schedules.asp">Schedules</a> | <a
class="font_toprightbar" href="http://www.sheridan.edu/directory/
">Directory</a> | <a class="font_toprightbar" href="
http://www.sheridan.edu/search/">Search</a> | <a
class="font_toprightbar"
href="http://www.sheridan.edu/contactus.asp">Contact</a> &nbsp;
</div></td></tr><tr><td><img height="1" width="180" alt="" src="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/spacer.gif
"></td><td><img height="1" width="300" alt="" src="
http://www-dev.sheridan.edu:8080/uPortal/media/org/jasig/portal/layout/A
L_TabColumn/integratedModes/eservices/skin/spacer.gif
"></td></tr></table></td><td><div id="myvt-toolbar"><table border="0"
cellpadding="0" width="510" cellspacing="4"><tr><td><a
href="tag.fc47a455c806d627.render.userLayoutRootNode.uP?uP_root=root&amp
;uP_reload_layout=true&amp;uP_sparam=targetRestriction&amp;targetRestric
tion=no
targetRestriction

parameter&amp;uP_sparam=targetAction&amp;targetAction=no

targetAction
parameter&amp;uP_sparam=

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.