Function
xml.dom.expatbuilder.parseFragmentString

Signature

parseFragmentString(string, context, namespaces=1)

Documentation String

Parse a fragment of a document from a string, given the context from which it was originally extracted. context should be the parent of the node(s) which are in the fragment.