Subject: Re: escaping from CDATA
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 26 Oct 2001 02:51:23 -0600 (MDT)
|
> I originally said the text was wrapped in CDATA:
>
> <![CDATA[<element attr="100"><a>100</a><b>200</b></element>]]>
>
> Would it make any difference if the string was not wrapped in CDATA
> but just had the angle brackets represented as entities (which is
> the actual case):
>
> <element attr="100"> ... </element>
No, it wouldn't make a difference, because both ways you wrote it mean
*exactly* the same thing. (but no need for the " or > -- just the
<)
- Mike
____________________________________________________________________________
mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|