[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] CDATA Question


Subject: RE: [xsl] CDATA Question
From: "Corey Spitzer" <cspitzer@xxxxxxxxx>
Date: Wed, 3 Oct 2001 14:12:15 -0500

CDATA is used to signify text so < and > inside CDATA is going to be handled
as CDATA (or text)

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Julian
Reschke
Sent: Wednesday, October 03, 2001 2:03 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] CDATA Question


Because that's what you have in your XML: markup as text.

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Clark, Jason
> Sent: Wednesday, October 03, 2001 8:53 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] CDATA Question
>
>
> Hello Everyone,
>
> In my xml I have an element that has markup inside a CDATA.  After using
> <xsl:copy-of> it only prints the markup to the screen.  Why is this?
>
> Example
>
> <CONTENT>
>  <![CDATA[
> <PRE><MENU>
> <A HREF=#r1>Document</A><BR>
> <MENU>
> <A HREF=#r2>Base</A><BR>
> <MENU>
> <A HREF=#r3>Cover Page</A><BR>
> <A HREF=#r4>Table of Contents</A><BR>
> <A HREF=#r5>Part I</A><BR>
> <MENU>
> <A HREF=#r6>Business</A><BR>
> <A HREF=#r7>Properties</A><BR>
> <A HREF=#r8>Legal Proceedings</A><BR>
> <A HREF=#r9>Submission to a Vote</A><BR>
> </MENU>
>
> </PRE>
> ]]>
> </CONTENT>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

 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
Keywords
xml