delta one handle kitchen faucets

« Home »
Sep 25th, 2012 Comments: 1

Cdata in XML

Share this


When creating XML documents, sometimes there are blocks of text that contain characters that may prove to be a problem when trying to validate the document. An example of this would be if the XML data contains a programming script, many of which contain characters such as >, <, &, etc, which will likely cause problems for the XML processor.  To avoid this, CDATA can be used to eliminate the need to go through the entire script.  During validation, the XML processor skips all data between the CDATA tags.  The syntax for CDATA is shown in the example below:

Example: <root_element>



Text and script that should be skipped





( 1 )
  1. Franchesca Jul 5th, 2014 17:45

    I see a lot of interesting content on your blog.
    You have to spend a lot of time writing, i know how to save
    you a lot of time, there is a tool that creates unique, google friendly articles in couple of minutes, just
    type in google – laranita’s free content source

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>