How do I extract CDATA node in Python? I'm using dom.minidom as
follows:-

from xml.dom.minidom import Document

class XMLDocument():

    def __init__(self):
        self.doc  = Document()

    def parseString(self, d):
        self.doc = parseString(_encode(d))
        return self

#Create instance of XMLDocument
doc = XMLDocument()
doc.parseString(open(os.curdir + '\\XML\\1.xml', 'r').read())
.....

Please help me out.

Thanks,
Girish
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to