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: CDATA Question


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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Julian
Reschke
Sent: Wednesday, October 03, 2001 2:03 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] CDATA Question


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

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Clark, Jason
> Sent: Wednesday, October 03, 2001 8:53 PM
> To: 'xsl-list@lists.mulberrytech.com'
> 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


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