|
|
CDATASection - RSS Feed
|
Views : 231
|
|
Tagged in : RSS Feed
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
<description>
<![CDATA[ <p>Good relations have I with the Wookies</p> ]]>
</description>
The example above shows a block of CDATA, enclosing serialized HTML, within an RSS <description> element.
The CDATASection interface inherits from CharacterData through Text, and represents a CDATA section in XML.
CDATA sections are used to escape blocks of text that would otherwise be treated as markup. In web development they're often used for including unpredictable HTML inside another form of XML, or for programmatic code like scripts and style information.
A CDATASection node cannot have children. |
|
By kalai, On - 2010-01-27 |
|
|
|