Lines Matching refs:string
2 from a string or file.
219 def parseString(self, string):
220 """Parse a document from a string, returning the document node."""
223 parser.Parse(string, True)
224 self._setup_subset(string)
576 # Takes a string for the doctype, subset string, and namespace attrs string.
621 def parseString(self, string):
622 """Parse a document fragment from a string, returning the
624 self._source = string
653 internalSubset as a string.
822 """Return string of namespace attributes from this element and
835 # add every new NS decl from context to L and attrs string
861 """Return the internal subset as a string."""
870 def parseString(self, string):
872 ExpatBuilder.parseString(self, string)
917 def parseString(string, namespaces=True):
918 """Parse a document from a string, returning the resulting
925 return builder.parseString(string)
948 def parseFragmentString(string, context, namespaces=True):
949 """Parse a fragment of a document from a string, given the context
957 return builder.parseString(string)