xsl-list
[Top] [All Lists]

Re: RE: Unterminated String Constant Error??

2005-07-25 10:35:53
On 7/25/05, Bruso, John <jbruso(_at_)sheridan(_dot_)edu> 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

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