Subject: RE: [xsl] RE: Unterminated String Constant Error?? From: "Bruso, John" <jbruso@xxxxxxxxxxxx> Date: Mon, 25 Jul 2005 09:59:08 -0600 |
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"> <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: [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@xxxxxxxxxxxx> 07/25/2005 10:44 AM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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 ">‹‹ 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> </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& ;uP_reload_layout=true&uP_sparam=targetRestriction&targetRestric tion=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RE: Unterminated String C, Andrew Welch | Thread | Re: [xsl] RE: Unterminated String C, andrew welch |
Re: [xsl] RE: Unterminated String C, JBryant | Date | Re: [xsl] Re: Merging multiple xmls, Wendell Piez |
Month |