(string, context, namespaces=True)
return builder.parseString(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.
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.
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 .
def parseFragmentString(string, context, namespaces=True):
    """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.
    """
    if namespaces:
        builder = FragmentBuilderNS(context)
    else:
        builder = FragmentBuilder(context)
    return builder.parseString(string)
def parseFragmentString ( string , context , namespaces = True ) : if namespaces : builder = FragmentBuilderNS ( context ) else : builder = FragmentBuilder ( context ) return builder . parseString ( string )