Logo Search packages:      
Sourcecode: zope-parsedxml version File versions

def ParsedXML::DOM::ExpatBuilder::ExpatBuilder::parseString (   self,
  string 
) [inherited]

Parse a document from a string, returning the document node.

Reimplemented in ParsedXML::DOM::ExpatBuilder::FragmentBuilder, and ParsedXML::DOM::ExpatBuilder::InternalSubsetExtractor.

Definition at line 243 of file ExpatBuilder.py.

00243                                  :
        """Parse a document from a string, returning the document node."""
        string = _normalize_lines(string)
        parser = self.getParser()
        parser.Parse(string, 1)
        self._setup_subset(string)
        doc = self.document
        self.reset()
        self._parser = None
        return doc

    def _setup_subset(self, buffer):


Generated by  Doxygen 1.6.0   Back to index