[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: What characters can go into a CDATA section and acomment?
On Thu, 24 Mar 2022 at 09:18, Mukul Gandhi <mukulg@softwarebytes.org> wrote:
one has a source code listing in the document and one does not, as it has been commented out, these are completely different things. a CDATA section plays the same role as a verbatim environment in latex or raw strings in python or ... Yes it's syntactic sugar but for a human reader of the source it is a lot easier to read a (say) _javascript_ listing as _javascript_ rather than _javascript_ in which every < is written as <
Comments are for commenting things out, CDATA sections are for including things. You can always replace a CDATA section by something else, but that's unlikely to be a comment. David
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|