Lines Matching refs:fragment
575 # framework document used by the fragment builder.
579 "http://xml.python.org/entities/fragment-builder/internal"
585 <!ENTITY fragment-builder-internal
590 >&fragment-builder-internal;</wrapper>'''
600 fragment.
614 self.fragment = None
617 """Parse a document fragment from a file object, returning the
618 fragment node."""
622 """Parse a document fragment from a string, returning the
623 fragment node."""
644 fragment = self.fragment
647 return fragment
695 # put the real document back, parse into the fragment to return
697 self.fragment = self.document.createDocumentFragment()
698 self.curNode = self.fragment
929 """Parse a fragment of a document, given the context from which it
931 node(s) which are in the fragment.
949 """Parse a fragment of a document from a string, given the context
951 parent of the node(s) which are in the fragment.