This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: escaping from CDATA


> 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):
> 
>   &lt;element attr=&quot;100&quot;&gt; ... &lt;/element&gt;

No, it wouldn't make a difference, because both ways you wrote it mean
*exactly* the same thing. (but no need for the &quot; or &gt; -- just the
&lt;)

   - 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]