xsl-list
[Top] [All Lists]

RE: RE: Unterminated String Constant Error??

2005-07-25 08:42:16
Use the carriage return entity code :- 

Dan 

-----Original Message-----
From: Bruso, John [mailto:jbruso(_at_)SHERIDAN(_dot_)EDU] 
Sent: 25 July 2005 16:45
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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/AL_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/AL_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/AL_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/AL_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/AL_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/AL_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/AL_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;targetRestriction=no                                                        
 targetRestriction                                                         
parameter&amp;uP_sparam=targetAction&amp;targetAction=no                                                        
 targetAction                                                         
parameter&amp;uP_sparam=



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>