Re: GOTCHA!

Subject: Re: GOTCHA!
From: Guy_Murphy@xxxxxxxxxx
Date: Thu, 14 Jan 1999 16:02:50 +0000
LOL, you git :?

[QUOTE]
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.


---------------------------------------------------------------------------
-----
The literal string ']]>' is not allowed in element content. Line 29,
Position 15
[END QUOTE]

More argument I guess for an
<not-xml-keep-you-mits-off-it-you-pesky-parser> tag. But this would really
only be any good to you if you never
wanted to place the closing tag within the element for content.

I think we can learn something from JavaScript here. Recognosing that you
might well want to express a string within a string, (routinely in the case
as dHTML annimation using setTimeout(...) ), JavaScript accepts both ' and
" for strings, allowoing nested strings. If you need to go deeper you can
specify \'. It certainly appears on the surface to be a similar issue.

Might we need a similar strategy with XSL, effectively providing two or
more logical units with the same functionality, with an absolute escape,
that cannot be expressed as part of the content (which we already have in
CDATA).

I confess that the issue is starting to go over my head which now has an
ache.

Cheers
     Guy.





xsl-list@xxxxxxxxxxxxxxxx on 01/15/99 12:51:06 AM

To:   xsl-list@xxxxxxxxxxxxxxxx
cc:    (bcc: Guy Murphy/UK/MAID)
Subject:  Re: GOTCHA!




Guy_Murphy@xxxxxxxxxx wrote:
>The MS XSL parser has <xsl:cdata> doing as you describe.

That's good to know. What does it emit for:
<xsl:cdata>]]></xsl:cdata>
?
Have fun,
    Oren.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread