- 7. API Reference
7.10. Opt_Xml_Cdata class - 7.9.9. set()
« Previous - 7.10.1. appendData()
Next »
7.10. Opt_Xml_Cdata class
Table of Contents
- 7.10.1. appendData()
- 7.10.2. deleteData()
- 7.10.3. insertData()
- 7.10.4. length()
- 7.10.5. replaceData()
- 7.10.6. substringData()
| Construct | Class |
|---|---|
| Extends | Opt_Xml_Node |
| Extended by | Opt_Xml_Comment |
Opt_Xml_Cdata objects represent a static text within the tags. They may be children of Opt_Xml_Text only, together with Opt_Xml_Expression.
These nodes support the optional state variable
cdata(for more information on state variables, see Opt_Xml_Buffer). If it is set to true, the text stored in this tag becomes a CDATA section.
To disable CDATA in all the descendants of the specified node, we can use the public method of
Opt_Instruction_Literalprocessor:$compiler->processor('literal')->disableCDATA($node);
- 7.10. Opt_Xml_Cdata class
7. API Reference - « Previous
7.9.9. set() - Next »
7.10.1. appendData()