(target, text=None)
return element
Processing Instruction element factory.

    This function creates a special element which the standard serializer
    serializes as an XML comment.

    *target* is a string containing the processing instruction, *text* is a
    string containing the processing instruction contents, if any.
Processing Instruction element factory.
Processing Instruction element factory .
def ProcessingInstruction(target, text=None):
    """Processing Instruction element factory.

    This function creates a special element which the standard serializer
    serializes as an XML comment.

    *target* is a string containing the processing instruction, *text* is a
    string containing the processing instruction contents, if any.

    """
    element = Element(ProcessingInstruction)
    element.text = target
    if text:
        element.text = element.text + " " + text
    return element
def ProcessingInstruction ( target , text = None ) : element = Element ( ProcessingInstruction ) element . text = target if text : element . text = element . text + " " + text return element