xsl-list
[Top] [All Lists]

RE: RE: Unterminated String Constant Error??

2005-07-25 08:59:08
Thanks guys... I tried entering the special character 
 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(_at_)s-s-t(_dot_)com [mailto:JBryant(_at_)s-s-t(_dot_)com] 
Sent: Monday, July 25, 2005 9:58 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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(_at_)SHERIDAN(_dot_)EDU> 
07/25/2005 10:44 AM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
cc

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/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=



--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>
--~--