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


Jason:

At 02:52 PM 10/3/01, you wrote:
>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?

Because inside a CDATA section, it's not markup.

One of the strengths of XML's implementation of the markup paradigm is its 
clear distinction between markup and text. This makes parsing easier and is 
a big reason for the emergence of the commodity market for tools. The down 
side is that it makes it a bit tough to blur the lines when you want to. 
Yet given a clear understanding and a disciplined approach, even these 
problems can be dealt with.

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


 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]