CDATASection class
The interface represents a CDATA section
that can be used within XML to include extended portions of
unescaped text.
When inside a CDATA section, the symbols <
and &
don't need
escaping
as they normally do.
In XML, a CDATA section looks like:
<![CDATA[ ... ]]>
For example:
<foo>Here is a CDATA section: <![CDATA[ < > & ]]> with all
kinds of unescaped text.</foo>
The only sequence which is not allowed within a CDATA section is the closing sequence of a CDATA section itself, []]>]. Note: CDATA sections should not be used within HTML they are considered as comments and not displayed.
EventTarget
Node
CharacterData
Text
CDATASection
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- CDATASection()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited