| 1224 | |
| 1225 | |
| 1226 | class CDATASection(Text): |
| 1227 | __slots__ = () |
| 1228 | |
| 1229 | nodeType = Node.CDATA_SECTION_NODE |
| 1230 | nodeName = "#cdata-section" |
| 1231 | |
| 1232 | def writexml(self, writer, indent="", addindent="", newl=""): |
| 1233 | if self.data.find("]]>") >= 0: |
| 1234 | raise ValueError("']]>' not allowed in a CDATA section") |
| 1235 | writer.write("<![CDATA[%s]]>" % self.data) |
| 1236 | |
| 1237 | |
| 1238 | class ReadOnlySequentialNamedNodeMap(object): |
no outgoing calls
no test coverage detected
searching dependent graphs…