partition
stringclasses
3 values
func_name
stringlengths
1
134
docstring
stringlengths
1
46.9k
path
stringlengths
4
223
original_string
stringlengths
75
104k
code
stringlengths
75
104k
docstring_tokens
listlengths
1
1.97k
repo
stringlengths
7
55
language
stringclasses
1 value
url
stringlengths
87
315
code_tokens
listlengths
19
28.4k
sha
stringlengths
40
40
train
xmlNode.xpointerNewLocationSetNodes
Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes @start and @end
deps/src/libxml2-2.9.1/python/libxml2.py
def xpointerNewLocationSetNodes(self, end): """Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes @start and @end """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewLocation...
def xpointerNewLocationSetNodes(self, end): """Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes @start and @end """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewLocation...
[ "Create", "a", "new", "xmlXPathObjectPtr", "of", "type", "LocationSet", "and", "initialize", "it", "with", "the", "single", "range", "made", "of", "the", "two", "nodes" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3933-L3941
[ "def", "xpointerNewLocationSetNodes", "(", "self", ",", "end", ")", ":", "if", "end", "is", "None", ":", "end__o", "=", "None", "else", ":", "end__o", "=", "end", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlXPtrNewLocationSetNodes", "(", "self", ".", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlNode.xpointerNewRange
Create a new xmlXPathObjectPtr of type range
deps/src/libxml2-2.9.1/python/libxml2.py
def xpointerNewRange(self, startindex, end, endindex): """Create a new xmlXPathObjectPtr of type range """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewRange(self._o, startindex, end__o, endindex) if ret is None:raise treeError('xmlXPtrNewRange()...
def xpointerNewRange(self, startindex, end, endindex): """Create a new xmlXPathObjectPtr of type range """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewRange(self._o, startindex, end__o, endindex) if ret is None:raise treeError('xmlXPtrNewRange()...
[ "Create", "a", "new", "xmlXPathObjectPtr", "of", "type", "range" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3943-L3949
[ "def", "xpointerNewRange", "(", "self", ",", "startindex", ",", "end", ",", "endindex", ")", ":", "if", "end", "is", "None", ":", "end__o", "=", "None", "else", ":", "end__o", "=", "end", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlXPtrNewRange", "("...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlNode.xpointerNewRangeNodes
Create a new xmlXPathObjectPtr of type range using 2 nodes
deps/src/libxml2-2.9.1/python/libxml2.py
def xpointerNewRangeNodes(self, end): """Create a new xmlXPathObjectPtr of type range using 2 nodes """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewRangeNodes(self._o, end__o) if ret is None:raise treeError('xmlXPtrNewRangeNodes() failed') ...
def xpointerNewRangeNodes(self, end): """Create a new xmlXPathObjectPtr of type range using 2 nodes """ if end is None: end__o = None else: end__o = end._o ret = libxml2mod.xmlXPtrNewRangeNodes(self._o, end__o) if ret is None:raise treeError('xmlXPtrNewRangeNodes() failed') ...
[ "Create", "a", "new", "xmlXPathObjectPtr", "of", "type", "range", "using", "2", "nodes" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3951-L3957
[ "def", "xpointerNewRangeNodes", "(", "self", ",", "end", ")", ":", "if", "end", "is", "None", ":", "end__o", "=", "None", "else", ":", "end__o", "=", "end", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlXPtrNewRangeNodes", "(", "self", ".", "_o", ",", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlAutoCloseTag
The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlAutoCloseTag(self, name, elem): """The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag. """ ret = libxml2mod.htmlAutoCloseTag(s...
def htmlAutoCloseTag(self, name, elem): """The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag. """ ret = libxml2mod.htmlAutoCloseTag(s...
[ "The", "HTML", "DTD", "allows", "a", "tag", "to", "implicitly", "close", "other", "tags", ".", "The", "list", "is", "kept", "in", "htmlStartClose", "array", ".", "This", "function", "checks", "if", "the", "element", "or", "one", "of", "it", "s", "childre...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3972-L3978
[ "def", "htmlAutoCloseTag", "(", "self", ",", "name", ",", "elem", ")", ":", "ret", "=", "libxml2mod", ".", "htmlAutoCloseTag", "(", "self", ".", "_o", ",", "name", ",", "elem", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlIsAutoClosed
The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlIsAutoClosed(self, elem): """The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child """ ret = libxml2mod.htmlIsAutoClosed(self._o, elem) return ret
def htmlIsAutoClosed(self, elem): """The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child """ ret = libxml2mod.htmlIsAutoClosed(self._o, elem) return ret
[ "The", "HTML", "DTD", "allows", "a", "tag", "to", "implicitly", "close", "other", "tags", ".", "The", "list", "is", "kept", "in", "htmlStartClose", "array", ".", "This", "function", "checks", "if", "a", "tag", "is", "autoclosed", "by", "one", "of", "it",...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3980-L3985
[ "def", "htmlIsAutoClosed", "(", "self", ",", "elem", ")", ":", "ret", "=", "libxml2mod", ".", "htmlIsAutoClosed", "(", "self", ".", "_o", ",", "elem", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlDocContentDumpFormatOutput
Dump an HTML document.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlDocContentDumpFormatOutput(self, buf, encoding, format): """Dump an HTML document. """ if buf is None: buf__o = None else: buf__o = buf._o libxml2mod.htmlDocContentDumpFormatOutput(buf__o, self._o, encoding, format)
def htmlDocContentDumpFormatOutput(self, buf, encoding, format): """Dump an HTML document. """ if buf is None: buf__o = None else: buf__o = buf._o libxml2mod.htmlDocContentDumpFormatOutput(buf__o, self._o, encoding, format)
[ "Dump", "an", "HTML", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3991-L3995
[ "def", "htmlDocContentDumpFormatOutput", "(", "self", ",", "buf", ",", "encoding", ",", "format", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "libxml2mod", ".", "htmlDocContentDumpFormatOutpu...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlDocContentDumpOutput
Dump an HTML document. Formating return/spaces are added.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlDocContentDumpOutput(self, buf, encoding): """Dump an HTML document. Formating return/spaces are added. """ if buf is None: buf__o = None else: buf__o = buf._o libxml2mod.htmlDocContentDumpOutput(buf__o, self._o, encoding)
def htmlDocContentDumpOutput(self, buf, encoding): """Dump an HTML document. Formating return/spaces are added. """ if buf is None: buf__o = None else: buf__o = buf._o libxml2mod.htmlDocContentDumpOutput(buf__o, self._o, encoding)
[ "Dump", "an", "HTML", "document", ".", "Formating", "return", "/", "spaces", "are", "added", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L3997-L4001
[ "def", "htmlDocContentDumpOutput", "(", "self", ",", "buf", ",", "encoding", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "libxml2mod", ".", "htmlDocContentDumpOutput", "(", "buf__o", ",", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlDocDump
Dump an HTML document to an open FILE.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlDocDump(self, f): """Dump an HTML document to an open FILE. """ ret = libxml2mod.htmlDocDump(f, self._o) return ret
def htmlDocDump(self, f): """Dump an HTML document to an open FILE. """ ret = libxml2mod.htmlDocDump(f, self._o) return ret
[ "Dump", "an", "HTML", "document", "to", "an", "open", "FILE", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4003-L4006
[ "def", "htmlDocDump", "(", "self", ",", "f", ")", ":", "ret", "=", "libxml2mod", ".", "htmlDocDump", "(", "f", ",", "self", ".", "_o", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlNodeDumpFile
Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlNodeDumpFile(self, out, cur): """Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added. """ if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.htmlNodeDumpFile(out, self._o, cur__o)
def htmlNodeDumpFile(self, out, cur): """Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added. """ if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.htmlNodeDumpFile(out, self._o, cur__o)
[ "Dump", "an", "HTML", "node", "recursive", "behaviour", "children", "are", "printed", "too", "and", "formatting", "returns", "are", "added", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4013-L4018
[ "def", "htmlNodeDumpFile", "(", "self", ",", "out", ",", "cur", ")", ":", "if", "cur", "is", "None", ":", "cur__o", "=", "None", "else", ":", "cur__o", "=", "cur", ".", "_o", "libxml2mod", ".", "htmlNodeDumpFile", "(", "out", ",", "self", ".", "_o", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlNodeDumpFileFormat
Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == None try to save in the doc encoding
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlNodeDumpFileFormat(self, out, cur, encoding, format): """Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == None try to save in the doc encoding """ if cur is None: cur__o = None else: cur__o = cur._o ret = libxml2mod.htmlN...
def htmlNodeDumpFileFormat(self, out, cur, encoding, format): """Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == None try to save in the doc encoding """ if cur is None: cur__o = None else: cur__o = cur._o ret = libxml2mod.htmlN...
[ "Dump", "an", "HTML", "node", "recursive", "behaviour", "children", "are", "printed", "too", ".", "TODO", ":", "if", "encoding", "==", "None", "try", "to", "save", "in", "the", "doc", "encoding" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4020-L4027
[ "def", "htmlNodeDumpFileFormat", "(", "self", ",", "out", ",", "cur", ",", "encoding", ",", "format", ")", ":", "if", "cur", "is", "None", ":", "cur__o", "=", "None", "else", ":", "cur__o", "=", "cur", ".", "_o", "ret", "=", "libxml2mod", ".", "htmlN...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlNodeDumpFormatOutput
Dump an HTML node, recursive behaviour,children are printed too.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlNodeDumpFormatOutput(self, buf, cur, encoding, format): """Dump an HTML node, recursive behaviour,children are printed too. """ if buf is None: buf__o = None else: buf__o = buf._o if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.htmlNodeDu...
def htmlNodeDumpFormatOutput(self, buf, cur, encoding, format): """Dump an HTML node, recursive behaviour,children are printed too. """ if buf is None: buf__o = None else: buf__o = buf._o if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.htmlNodeDu...
[ "Dump", "an", "HTML", "node", "recursive", "behaviour", "children", "are", "printed", "too", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4029-L4036
[ "def", "htmlNodeDumpFormatOutput", "(", "self", ",", "buf", ",", "cur", ",", "encoding", ",", "format", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "if", "cur", "is", "None", ":", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlNodeDumpOutput
Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlNodeDumpOutput(self, buf, cur, encoding): """Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added. """ if buf is None: buf__o = None else: buf__o = buf._o if cur is None: cur__o = None else: cur__o = cur._o ...
def htmlNodeDumpOutput(self, buf, cur, encoding): """Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added. """ if buf is None: buf__o = None else: buf__o = buf._o if cur is None: cur__o = None else: cur__o = cur._o ...
[ "Dump", "an", "HTML", "node", "recursive", "behaviour", "children", "are", "printed", "too", "and", "formatting", "returns", "/", "spaces", "are", "added", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4038-L4045
[ "def", "htmlNodeDumpOutput", "(", "self", ",", "buf", ",", "cur", ",", "encoding", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "if", "cur", "is", "None", ":", "cur__o", "=", "None",...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlSaveFile
Dump an HTML document to a file. If @filename is "-" the stdout file is used.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlSaveFile(self, filename): """Dump an HTML document to a file. If @filename is "-" the stdout file is used. """ ret = libxml2mod.htmlSaveFile(filename, self._o) return ret
def htmlSaveFile(self, filename): """Dump an HTML document to a file. If @filename is "-" the stdout file is used. """ ret = libxml2mod.htmlSaveFile(filename, self._o) return ret
[ "Dump", "an", "HTML", "document", "to", "a", "file", ".", "If" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4047-L4051
[ "def", "htmlSaveFile", "(", "self", ",", "filename", ")", ":", "ret", "=", "libxml2mod", ".", "htmlSaveFile", "(", "filename", ",", "self", ".", "_o", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlSaveFileEnc
Dump an HTML document to a file using a given encoding and formatting returns/spaces are added.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlSaveFileEnc(self, filename, encoding): """Dump an HTML document to a file using a given encoding and formatting returns/spaces are added. """ ret = libxml2mod.htmlSaveFileEnc(filename, self._o, encoding) return ret
def htmlSaveFileEnc(self, filename, encoding): """Dump an HTML document to a file using a given encoding and formatting returns/spaces are added. """ ret = libxml2mod.htmlSaveFileEnc(filename, self._o, encoding) return ret
[ "Dump", "an", "HTML", "document", "to", "a", "file", "using", "a", "given", "encoding", "and", "formatting", "returns", "/", "spaces", "are", "added", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4053-L4057
[ "def", "htmlSaveFileEnc", "(", "self", ",", "filename", ",", "encoding", ")", ":", "ret", "=", "libxml2mod", ".", "htmlSaveFileEnc", "(", "filename", ",", "self", ".", "_o", ",", "encoding", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlSaveFileFormat
Dump an HTML document to a file using a given encoding.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlSaveFileFormat(self, filename, encoding, format): """Dump an HTML document to a file using a given encoding. """ ret = libxml2mod.htmlSaveFileFormat(filename, self._o, encoding, format) return ret
def htmlSaveFileFormat(self, filename, encoding, format): """Dump an HTML document to a file using a given encoding. """ ret = libxml2mod.htmlSaveFileFormat(filename, self._o, encoding, format) return ret
[ "Dump", "an", "HTML", "document", "to", "a", "file", "using", "a", "given", "encoding", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4059-L4062
[ "def", "htmlSaveFileFormat", "(", "self", ",", "filename", ",", "encoding", ",", "format", ")", ":", "ret", "=", "libxml2mod", ".", "htmlSaveFileFormat", "(", "filename", ",", "self", ".", "_o", ",", "encoding", ",", "format", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.htmlSetMetaEncoding
Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated.
deps/src/libxml2-2.9.1/python/libxml2.py
def htmlSetMetaEncoding(self, encoding): """Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated. """ ret = libxml2mod.htmlSetMetaEncoding(self._o, encoding) return ret
def htmlSetMetaEncoding(self, encoding): """Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated. """ ret = libxml2mod.htmlSetMetaEncoding(self._o, encoding) return ret
[ "Sets", "the", "current", "encoding", "in", "the", "Meta", "tags", "NOTE", ":", "this", "will", "not", "change", "the", "document", "content", "encoding", "just", "the", "META", "flag", "associated", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4064-L4069
[ "def", "htmlSetMetaEncoding", "(", "self", ",", "encoding", ")", ":", "ret", "=", "libxml2mod", ".", "htmlSetMetaEncoding", "(", "self", ".", "_o", ",", "encoding", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.debugCheckDocument
Check the document for potential content problems, and output the errors to @output
deps/src/libxml2-2.9.1/python/libxml2.py
def debugCheckDocument(self, output): """Check the document for potential content problems, and output the errors to @output """ ret = libxml2mod.xmlDebugCheckDocument(output, self._o) return ret
def debugCheckDocument(self, output): """Check the document for potential content problems, and output the errors to @output """ ret = libxml2mod.xmlDebugCheckDocument(output, self._o) return ret
[ "Check", "the", "document", "for", "potential", "content", "problems", "and", "output", "the", "errors", "to" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4075-L4079
[ "def", "debugCheckDocument", "(", "self", ",", "output", ")", ":", "ret", "=", "libxml2mod", ".", "xmlDebugCheckDocument", "(", "output", ",", "self", ".", "_o", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.addDocEntity
Register a new entity for this document.
deps/src/libxml2-2.9.1/python/libxml2.py
def addDocEntity(self, name, type, ExternalID, SystemID, content): """Register a new entity for this document. """ ret = libxml2mod.xmlAddDocEntity(self._o, name, type, ExternalID, SystemID, content) if ret is None:raise treeError('xmlAddDocEntity() failed') __tmp = xmlEntity(_obj=ret) ...
def addDocEntity(self, name, type, ExternalID, SystemID, content): """Register a new entity for this document. """ ret = libxml2mod.xmlAddDocEntity(self._o, name, type, ExternalID, SystemID, content) if ret is None:raise treeError('xmlAddDocEntity() failed') __tmp = xmlEntity(_obj=ret) ...
[ "Register", "a", "new", "entity", "for", "this", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4099-L4104
[ "def", "addDocEntity", "(", "self", ",", "name", ",", "type", ",", "ExternalID", ",", "SystemID", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlAddDocEntity", "(", "self", ".", "_o", ",", "name", ",", "type", ",", "ExternalID", ",", "Sys...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.addDtdEntity
Register a new entity for this document DTD external subset.
deps/src/libxml2-2.9.1/python/libxml2.py
def addDtdEntity(self, name, type, ExternalID, SystemID, content): """Register a new entity for this document DTD external subset. """ ret = libxml2mod.xmlAddDtdEntity(self._o, name, type, ExternalID, SystemID, content) if ret is None:raise treeError('xmlAddDtdEntity() failed') __tmp = x...
def addDtdEntity(self, name, type, ExternalID, SystemID, content): """Register a new entity for this document DTD external subset. """ ret = libxml2mod.xmlAddDtdEntity(self._o, name, type, ExternalID, SystemID, content) if ret is None:raise treeError('xmlAddDtdEntity() failed') __tmp = x...
[ "Register", "a", "new", "entity", "for", "this", "document", "DTD", "external", "subset", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4106-L4111
[ "def", "addDtdEntity", "(", "self", ",", "name", ",", "type", ",", "ExternalID", ",", "SystemID", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlAddDtdEntity", "(", "self", ".", "_o", ",", "name", ",", "type", ",", "ExternalID", ",", "Sys...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.docEntity
Do an entity lookup in the document entity hash table and
deps/src/libxml2-2.9.1/python/libxml2.py
def docEntity(self, name): """Do an entity lookup in the document entity hash table and """ ret = libxml2mod.xmlGetDocEntity(self._o, name) if ret is None:raise treeError('xmlGetDocEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
def docEntity(self, name): """Do an entity lookup in the document entity hash table and """ ret = libxml2mod.xmlGetDocEntity(self._o, name) if ret is None:raise treeError('xmlGetDocEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
[ "Do", "an", "entity", "lookup", "in", "the", "document", "entity", "hash", "table", "and" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4113-L4118
[ "def", "docEntity", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlGetDocEntity", "(", "self", ".", "_o", ",", "name", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlGetDocEntity() failed'", ")", "__tmp", "="...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.dtdEntity
Do an entity lookup in the DTD entity hash table and
deps/src/libxml2-2.9.1/python/libxml2.py
def dtdEntity(self, name): """Do an entity lookup in the DTD entity hash table and """ ret = libxml2mod.xmlGetDtdEntity(self._o, name) if ret is None:raise treeError('xmlGetDtdEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
def dtdEntity(self, name): """Do an entity lookup in the DTD entity hash table and """ ret = libxml2mod.xmlGetDtdEntity(self._o, name) if ret is None:raise treeError('xmlGetDtdEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
[ "Do", "an", "entity", "lookup", "in", "the", "DTD", "entity", "hash", "table", "and" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4120-L4125
[ "def", "dtdEntity", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlGetDtdEntity", "(", "self", ".", "_o", ",", "name", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlGetDtdEntity() failed'", ")", "__tmp", "="...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.encodeEntities
TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered.
deps/src/libxml2-2.9.1/python/libxml2.py
def encodeEntities(self, input): """TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered. """ ret = libxml2mod.xmlEncodeEnt...
def encodeEntities(self, input): """TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered. """ ret = libxml2mod.xmlEncodeEnt...
[ "TODO", ":", "remove", "xmlEncodeEntities", "once", "we", "are", "not", "afraid", "of", "breaking", "binary", "compatibility", "People", "must", "migrate", "their", "code", "to", "xmlEncodeEntitiesReentrant", "!", "This", "routine", "will", "issue", "a", "warning"...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4127-L4133
[ "def", "encodeEntities", "(", "self", ",", "input", ")", ":", "ret", "=", "libxml2mod", ".", "xmlEncodeEntities", "(", "self", ".", "_o", ",", "input", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.encodeEntitiesReentrant
Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated.
deps/src/libxml2-2.9.1/python/libxml2.py
def encodeEntitiesReentrant(self, input): """Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated. """ ...
def encodeEntitiesReentrant(self, input): """Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated. """ ...
[ "Do", "a", "global", "encoding", "of", "a", "string", "replacing", "the", "predefined", "entities", "and", "non", "ASCII", "values", "with", "their", "entities", "and", "CharRef", "counterparts", ".", "Contrary", "to", "xmlEncodeEntities", "this", "routine", "is...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4135-L4141
[ "def", "encodeEntitiesReentrant", "(", "self", ",", "input", ")", ":", "ret", "=", "libxml2mod", ".", "xmlEncodeEntitiesReentrant", "(", "self", ".", "_o", ",", "input", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.encodeSpecialChars
Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated.
deps/src/libxml2-2.9.1/python/libxml2.py
def encodeSpecialChars(self, input): """Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated. """ ret = libxml2mod.xmlEncodeSpecialChars(self._o, input) return ret
def encodeSpecialChars(self, input): """Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated. """ ret = libxml2mod.xmlEncodeSpecialChars(self._o, input) return ret
[ "Do", "a", "global", "encoding", "of", "a", "string", "replacing", "the", "predefined", "entities", "this", "routine", "is", "reentrant", "and", "result", "must", "be", "deallocated", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4143-L4148
[ "def", "encodeSpecialChars", "(", "self", ",", "input", ")", ":", "ret", "=", "libxml2mod", ".", "xmlEncodeSpecialChars", "(", "self", ".", "_o", ",", "input", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newEntity
Create a new entity, this differs from xmlAddDocEntity() that if the document is None or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the caller to link it to the document later or free it when not needed ...
deps/src/libxml2-2.9.1/python/libxml2.py
def newEntity(self, name, type, ExternalID, SystemID, content): """Create a new entity, this differs from xmlAddDocEntity() that if the document is None or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the calle...
def newEntity(self, name, type, ExternalID, SystemID, content): """Create a new entity, this differs from xmlAddDocEntity() that if the document is None or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the calle...
[ "Create", "a", "new", "entity", "this", "differs", "from", "xmlAddDocEntity", "()", "that", "if", "the", "document", "is", "None", "or", "has", "no", "internal", "subset", "defined", "then", "an", "unlinked", "entity", "structure", "will", "be", "returned", ...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4150-L4160
[ "def", "newEntity", "(", "self", ",", "name", ",", "type", ",", "ExternalID", ",", "SystemID", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewEntity", "(", "self", ".", "_o", ",", "name", ",", "type", ",", "ExternalID", ",", "SystemID"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.parameterEntity
Do an entity lookup in the internal and external subsets and
deps/src/libxml2-2.9.1/python/libxml2.py
def parameterEntity(self, name): """Do an entity lookup in the internal and external subsets and """ ret = libxml2mod.xmlGetParameterEntity(self._o, name) if ret is None:raise treeError('xmlGetParameterEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
def parameterEntity(self, name): """Do an entity lookup in the internal and external subsets and """ ret = libxml2mod.xmlGetParameterEntity(self._o, name) if ret is None:raise treeError('xmlGetParameterEntity() failed') __tmp = xmlEntity(_obj=ret) return __tmp
[ "Do", "an", "entity", "lookup", "in", "the", "internal", "and", "external", "subsets", "and" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4162-L4167
[ "def", "parameterEntity", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlGetParameterEntity", "(", "self", ".", "_o", ",", "name", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlGetParameterEntity() failed'", ")"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.relaxNGNewDocParserCtxt
Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally.
deps/src/libxml2-2.9.1/python/libxml2.py
def relaxNGNewDocParserCtxt(self): """Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally. """ ret = libxml2mod.xmlRelaxNGNewDocParserCtxt(self._o...
def relaxNGNewDocParserCtxt(self): """Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally. """ ret = libxml2mod.xmlRelaxNGNewDocParserCtxt(self._o...
[ "Create", "an", "XML", "RelaxNGs", "parser", "context", "for", "that", "document", ".", "Note", ":", "since", "the", "process", "of", "compiling", "a", "RelaxNG", "schemas", "modifies", "the", "document", "the" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4173-L4181
[ "def", "relaxNGNewDocParserCtxt", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlRelaxNGNewDocParserCtxt", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "parserError", "(", "'xmlRelaxNGNewDocParserCtxt() failed'", ")", "__tmp", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.relaxNGValidateDoc
Validate a document tree in memory.
deps/src/libxml2-2.9.1/python/libxml2.py
def relaxNGValidateDoc(self, ctxt): """Validate a document tree in memory. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlRelaxNGValidateDoc(ctxt__o, self._o) return ret
def relaxNGValidateDoc(self, ctxt): """Validate a document tree in memory. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlRelaxNGValidateDoc(ctxt__o, self._o) return ret
[ "Validate", "a", "document", "tree", "in", "memory", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4183-L4188
[ "def", "relaxNGValidateDoc", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlRelaxNGValidateDoc", "(", "ctxt__o", ",", "self",...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.relaxNGValidateFullElement
Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded.
deps/src/libxml2-2.9.1/python/libxml2.py
def relaxNGValidateFullElement(self, ctxt, elem): """Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None ...
def relaxNGValidateFullElement(self, ctxt, elem): """Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None ...
[ "Validate", "a", "full", "subtree", "when", "xmlRelaxNGValidatePushElement", "()", "returned", "0", "and", "the", "content", "of", "the", "node", "has", "been", "expanded", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4190-L4199
[ "def", "relaxNGValidateFullElement", "(", "self", ",", "ctxt", ",", "elem", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "e...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.relaxNGValidatePopElement
Pop the element end from the RelaxNG validation stack.
deps/src/libxml2-2.9.1/python/libxml2.py
def relaxNGValidatePopElement(self, ctxt, elem): """Pop the element end from the RelaxNG validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlRelaxNGValidatePopElement(ctx...
def relaxNGValidatePopElement(self, ctxt, elem): """Pop the element end from the RelaxNG validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlRelaxNGValidatePopElement(ctx...
[ "Pop", "the", "element", "end", "from", "the", "RelaxNG", "validation", "stack", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4201-L4208
[ "def", "relaxNGValidatePopElement", "(", "self", ",", "ctxt", ",", "elem", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "el...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.relaxNGValidatePushElement
Push a new element start on the RelaxNG validation stack.
deps/src/libxml2-2.9.1/python/libxml2.py
def relaxNGValidatePushElement(self, ctxt, elem): """Push a new element start on the RelaxNG validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlRelaxNGValidatePushElemen...
def relaxNGValidatePushElement(self, ctxt, elem): """Push a new element start on the RelaxNG validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlRelaxNGValidatePushElemen...
[ "Push", "a", "new", "element", "start", "on", "the", "RelaxNG", "validation", "stack", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4210-L4217
[ "def", "relaxNGValidatePushElement", "(", "self", ",", "ctxt", ",", "elem", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "e...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.copyDoc
Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities.
deps/src/libxml2-2.9.1/python/libxml2.py
def copyDoc(self, recursive): """Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities. """ ret = libxml2mod.xmlCopyDoc(self._o, recursive) if ret is None:raise treeError('xmlCopyDoc() failed') __tmp...
def copyDoc(self, recursive): """Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities. """ ret = libxml2mod.xmlCopyDoc(self._o, recursive) if ret is None:raise treeError('xmlCopyDoc() failed') __tmp...
[ "Do", "a", "copy", "of", "the", "document", "info", ".", "If", "recursive", "the", "content", "tree", "will", "be", "copied", "too", "as", "well", "as", "DTD", "namespaces", "and", "entities", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4223-L4230
[ "def", "copyDoc", "(", "self", ",", "recursive", ")", ":", "ret", "=", "libxml2mod", ".", "xmlCopyDoc", "(", "self", ".", "_o", ",", "recursive", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlCopyDoc() failed'", ")", "__tmp", "=", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.copyNode
Do a copy of the node to a given document.
deps/src/libxml2-2.9.1/python/libxml2.py
def copyNode(self, node, extended): """Do a copy of the node to a given document. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlDocCopyNode(node__o, self._o, extended) if ret is None:raise treeError('xmlDocCopyNode() failed') __tmp = xmlN...
def copyNode(self, node, extended): """Do a copy of the node to a given document. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlDocCopyNode(node__o, self._o, extended) if ret is None:raise treeError('xmlDocCopyNode() failed') __tmp = xmlN...
[ "Do", "a", "copy", "of", "the", "node", "to", "a", "given", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4232-L4239
[ "def", "copyNode", "(", "self", ",", "node", ",", "extended", ")", ":", "if", "node", "is", "None", ":", "node__o", "=", "None", "else", ":", "node__o", "=", "node", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlDocCopyNode", "(", "node__o", ",", "se...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.copyNodeList
Do a recursive copy of the node list.
deps/src/libxml2-2.9.1/python/libxml2.py
def copyNodeList(self, node): """Do a recursive copy of the node list. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlDocCopyNodeList(self._o, node__o) if ret is None:raise treeError('xmlDocCopyNodeList() failed') __tmp = xmlNode(_obj=ret)...
def copyNodeList(self, node): """Do a recursive copy of the node list. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlDocCopyNodeList(self._o, node__o) if ret is None:raise treeError('xmlDocCopyNodeList() failed') __tmp = xmlNode(_obj=ret)...
[ "Do", "a", "recursive", "copy", "of", "the", "node", "list", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4241-L4248
[ "def", "copyNodeList", "(", "self", ",", "node", ")", ":", "if", "node", "is", "None", ":", "node__o", "=", "None", "else", ":", "node__o", "=", "node", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlDocCopyNodeList", "(", "self", ".", "_o", ",", "nod...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.createIntSubset
Create the internal subset of a document
deps/src/libxml2-2.9.1/python/libxml2.py
def createIntSubset(self, name, ExternalID, SystemID): """Create the internal subset of a document """ ret = libxml2mod.xmlCreateIntSubset(self._o, name, ExternalID, SystemID) if ret is None:raise treeError('xmlCreateIntSubset() failed') __tmp = xmlDtd(_obj=ret) return __tmp
def createIntSubset(self, name, ExternalID, SystemID): """Create the internal subset of a document """ ret = libxml2mod.xmlCreateIntSubset(self._o, name, ExternalID, SystemID) if ret is None:raise treeError('xmlCreateIntSubset() failed') __tmp = xmlDtd(_obj=ret) return __tmp
[ "Create", "the", "internal", "subset", "of", "a", "document" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4250-L4255
[ "def", "createIntSubset", "(", "self", ",", "name", ",", "ExternalID", ",", "SystemID", ")", ":", "ret", "=", "libxml2mod", ".", "xmlCreateIntSubset", "(", "self", ".", "_o", ",", "name", ",", "ExternalID", ",", "SystemID", ")", "if", "ret", "is", "None"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.dump
Dump an XML document to an open FILE.
deps/src/libxml2-2.9.1/python/libxml2.py
def dump(self, f): """Dump an XML document to an open FILE. """ ret = libxml2mod.xmlDocDump(f, self._o) return ret
def dump(self, f): """Dump an XML document to an open FILE. """ ret = libxml2mod.xmlDocDump(f, self._o) return ret
[ "Dump", "an", "XML", "document", "to", "an", "open", "FILE", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4262-L4265
[ "def", "dump", "(", "self", ",", "f", ")", ":", "ret", "=", "libxml2mod", ".", "xmlDocDump", "(", "f", ",", "self", ".", "_o", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.elemDump
Dump an XML/HTML node, recursive behaviour, children are printed too.
deps/src/libxml2-2.9.1/python/libxml2.py
def elemDump(self, f, cur): """Dump an XML/HTML node, recursive behaviour, children are printed too. """ if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.xmlElemDump(f, self._o, cur__o)
def elemDump(self, f, cur): """Dump an XML/HTML node, recursive behaviour, children are printed too. """ if cur is None: cur__o = None else: cur__o = cur._o libxml2mod.xmlElemDump(f, self._o, cur__o)
[ "Dump", "an", "XML", "/", "HTML", "node", "recursive", "behaviour", "children", "are", "printed", "too", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4267-L4272
[ "def", "elemDump", "(", "self", ",", "f", ",", "cur", ")", ":", "if", "cur", "is", "None", ":", "cur__o", "=", "None", "else", ":", "cur__o", "=", "cur", ".", "_o", "libxml2mod", ".", "xmlElemDump", "(", "f", ",", "self", ".", "_o", ",", "cur__o"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.formatDump
Dump an XML document to an open FILE.
deps/src/libxml2-2.9.1/python/libxml2.py
def formatDump(self, f, format): """Dump an XML document to an open FILE. """ ret = libxml2mod.xmlDocFormatDump(f, self._o, format) return ret
def formatDump(self, f, format): """Dump an XML document to an open FILE. """ ret = libxml2mod.xmlDocFormatDump(f, self._o, format) return ret
[ "Dump", "an", "XML", "document", "to", "an", "open", "FILE", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4274-L4277
[ "def", "formatDump", "(", "self", ",", "f", ",", "format", ")", ":", "ret", "=", "libxml2mod", ".", "xmlDocFormatDump", "(", "f", ",", "self", ".", "_o", ",", "format", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.getRootElement
Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).
deps/src/libxml2-2.9.1/python/libxml2.py
def getRootElement(self): """Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). """ ret = libxml2mod.xmlDocGetRootElement(self._o) if ret is None:raise treeError('xmlDocGetRootElement() failed') __tmp = xmlNode(_obj=ret) ...
def getRootElement(self): """Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). """ ret = libxml2mod.xmlDocGetRootElement(self._o) if ret is None:raise treeError('xmlDocGetRootElement() failed') __tmp = xmlNode(_obj=ret) ...
[ "Get", "the", "root", "element", "of", "the", "document", "(", "doc", "-", ">", "children", "is", "a", "list", "containing", "possibly", "comments", "PIs", "etc", "...", ")", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4284-L4290
[ "def", "getRootElement", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlDocGetRootElement", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlDocGetRootElement() failed'", ")", "__tmp", "=", "xmlNode", "(...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.intSubset
Get the internal subset of a document
deps/src/libxml2-2.9.1/python/libxml2.py
def intSubset(self): """Get the internal subset of a document """ ret = libxml2mod.xmlGetIntSubset(self._o) if ret is None:raise treeError('xmlGetIntSubset() failed') __tmp = xmlDtd(_obj=ret) return __tmp
def intSubset(self): """Get the internal subset of a document """ ret = libxml2mod.xmlGetIntSubset(self._o) if ret is None:raise treeError('xmlGetIntSubset() failed') __tmp = xmlDtd(_obj=ret) return __tmp
[ "Get", "the", "internal", "subset", "of", "a", "document" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4292-L4297
[ "def", "intSubset", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlGetIntSubset", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlGetIntSubset() failed'", ")", "__tmp", "=", "xmlDtd", "(", "_obj", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newCDataBlock
Creation of a new node containing a CDATA block.
deps/src/libxml2-2.9.1/python/libxml2.py
def newCDataBlock(self, content, len): """Creation of a new node containing a CDATA block. """ ret = libxml2mod.xmlNewCDataBlock(self._o, content, len) if ret is None:raise treeError('xmlNewCDataBlock() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newCDataBlock(self, content, len): """Creation of a new node containing a CDATA block. """ ret = libxml2mod.xmlNewCDataBlock(self._o, content, len) if ret is None:raise treeError('xmlNewCDataBlock() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "node", "containing", "a", "CDATA", "block", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4299-L4304
[ "def", "newCDataBlock", "(", "self", ",", "content", ",", "len", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewCDataBlock", "(", "self", ".", "_o", ",", "content", ",", "len", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewCD...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newCharRef
Creation of a new character reference node.
deps/src/libxml2-2.9.1/python/libxml2.py
def newCharRef(self, name): """Creation of a new character reference node. """ ret = libxml2mod.xmlNewCharRef(self._o, name) if ret is None:raise treeError('xmlNewCharRef() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newCharRef(self, name): """Creation of a new character reference node. """ ret = libxml2mod.xmlNewCharRef(self._o, name) if ret is None:raise treeError('xmlNewCharRef() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "character", "reference", "node", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4306-L4311
[ "def", "newCharRef", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewCharRef", "(", "self", ".", "_o", ",", "name", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewCharRef() failed'", ")", "__tmp", "=", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocComment
Creation of a new node containing a comment within a document.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocComment(self, content): """Creation of a new node containing a comment within a document. """ ret = libxml2mod.xmlNewDocComment(self._o, content) if ret is None:raise treeError('xmlNewDocComment() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newDocComment(self, content): """Creation of a new node containing a comment within a document. """ ret = libxml2mod.xmlNewDocComment(self._o, content) if ret is None:raise treeError('xmlNewDocComment() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "node", "containing", "a", "comment", "within", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4313-L4319
[ "def", "newDocComment", "(", "self", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocComment", "(", "self", ".", "_o", ",", "content", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDocComment() failed'", ")", "_...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocFragment
Creation of a new Fragment node.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocFragment(self): """Creation of a new Fragment node. """ ret = libxml2mod.xmlNewDocFragment(self._o) if ret is None:raise treeError('xmlNewDocFragment() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newDocFragment(self): """Creation of a new Fragment node. """ ret = libxml2mod.xmlNewDocFragment(self._o) if ret is None:raise treeError('xmlNewDocFragment() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "Fragment", "node", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4321-L4326
[ "def", "newDocFragment", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocFragment", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDocFragment() failed'", ")", "__tmp", "=", "xmlNode", "(", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocNode
Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNo...
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocNode(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using ...
def newDocNode(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using ...
[ "Creation", "of", "a", "new", "node", "element", "within", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4328-L4340
[ "def", "newDocNode", "(", "self", ",", "ns", ",", "name", ",", "content", ")", ":", "if", "ns", "is", "None", ":", "ns__o", "=", "None", "else", ":", "ns__o", "=", "ns", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNewDocNode", "(", "self", ".", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocNodeEatName
Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNo...
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocNodeEatName(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using...
def newDocNodeEatName(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using...
[ "Creation", "of", "a", "new", "node", "element", "within", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4342-L4354
[ "def", "newDocNodeEatName", "(", "self", ",", "ns", ",", "name", ",", "content", ")", ":", "if", "ns", "is", "None", ":", "ns__o", "=", "None", "else", ":", "ns__o", "=", "ns", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNewDocNodeEatName", "(", "s...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocPI
Creation of a processing instruction element.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocPI(self, name, content): """Creation of a processing instruction element. """ ret = libxml2mod.xmlNewDocPI(self._o, name, content) if ret is None:raise treeError('xmlNewDocPI() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newDocPI(self, name, content): """Creation of a processing instruction element. """ ret = libxml2mod.xmlNewDocPI(self._o, name, content) if ret is None:raise treeError('xmlNewDocPI() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "processing", "instruction", "element", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4356-L4361
[ "def", "newDocPI", "(", "self", ",", "name", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocPI", "(", "self", ".", "_o", ",", "name", ",", "content", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDocPI() fa...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocProp
Create a new property carried by a document.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocProp(self, name, value): """Create a new property carried by a document. """ ret = libxml2mod.xmlNewDocProp(self._o, name, value) if ret is None:raise treeError('xmlNewDocProp() failed') __tmp = xmlAttr(_obj=ret) return __tmp
def newDocProp(self, name, value): """Create a new property carried by a document. """ ret = libxml2mod.xmlNewDocProp(self._o, name, value) if ret is None:raise treeError('xmlNewDocProp() failed') __tmp = xmlAttr(_obj=ret) return __tmp
[ "Create", "a", "new", "property", "carried", "by", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4363-L4368
[ "def", "newDocProp", "(", "self", ",", "name", ",", "value", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocProp", "(", "self", ".", "_o", ",", "name", ",", "value", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDocProp() ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocRawNode
Creation of a new node element within a document. @ns and @content are optional (None).
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocRawNode(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). """ if ns is None: ns__o = None else: ns__o = ns._o ret = libxml2mod.xmlNewDocRawNode(self._o, ns__o, name, content) if ret is None:ra...
def newDocRawNode(self, ns, name, content): """Creation of a new node element within a document. @ns and @content are optional (None). """ if ns is None: ns__o = None else: ns__o = ns._o ret = libxml2mod.xmlNewDocRawNode(self._o, ns__o, name, content) if ret is None:ra...
[ "Creation", "of", "a", "new", "node", "element", "within", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4370-L4378
[ "def", "newDocRawNode", "(", "self", ",", "ns", ",", "name", ",", "content", ")", ":", "if", "ns", "is", "None", ":", "ns__o", "=", "None", "else", ":", "ns__o", "=", "ns", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNewDocRawNode", "(", "self", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocText
Creation of a new text node within a document.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocText(self, content): """Creation of a new text node within a document. """ ret = libxml2mod.xmlNewDocText(self._o, content) if ret is None:raise treeError('xmlNewDocText() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newDocText(self, content): """Creation of a new text node within a document. """ ret = libxml2mod.xmlNewDocText(self._o, content) if ret is None:raise treeError('xmlNewDocText() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "text", "node", "within", "a", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4380-L4385
[ "def", "newDocText", "(", "self", ",", "content", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocText", "(", "self", ".", "_o", ",", "content", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDocText() failed'", ")", "__tmp", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDocTextLen
Creation of a new text node with an extra content length parameter. The text node pertain to a given document.
deps/src/libxml2-2.9.1/python/libxml2.py
def newDocTextLen(self, content, len): """Creation of a new text node with an extra content length parameter. The text node pertain to a given document. """ ret = libxml2mod.xmlNewDocTextLen(self._o, content, len) if ret is None:raise treeError('xmlNewDocTextLen() failed') __t...
def newDocTextLen(self, content, len): """Creation of a new text node with an extra content length parameter. The text node pertain to a given document. """ ret = libxml2mod.xmlNewDocTextLen(self._o, content, len) if ret is None:raise treeError('xmlNewDocTextLen() failed') __t...
[ "Creation", "of", "a", "new", "text", "node", "with", "an", "extra", "content", "length", "parameter", ".", "The", "text", "node", "pertain", "to", "a", "given", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4387-L4393
[ "def", "newDocTextLen", "(", "self", ",", "content", ",", "len", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDocTextLen", "(", "self", ".", "_o", ",", "content", ",", "len", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewDo...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newDtd
Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset().
deps/src/libxml2-2.9.1/python/libxml2.py
def newDtd(self, name, ExternalID, SystemID): """Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset(). """ ret = libxml2mod.xmlNewDtd(self._o, name, ExternalID, SystemID) if ret is None:raise treeError('xmlNewDtd() failed') __tm...
def newDtd(self, name, ExternalID, SystemID): """Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset(). """ ret = libxml2mod.xmlNewDtd(self._o, name, ExternalID, SystemID) if ret is None:raise treeError('xmlNewDtd() failed') __tm...
[ "Creation", "of", "a", "new", "DTD", "for", "the", "external", "subset", ".", "To", "create", "an", "internal", "subset", "use", "xmlCreateIntSubset", "()", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4395-L4401
[ "def", "newDtd", "(", "self", ",", "name", ",", "ExternalID", ",", "SystemID", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewDtd", "(", "self", ".", "_o", ",", "name", ",", "ExternalID", ",", "SystemID", ")", "if", "ret", "is", "None", ":", "raise"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newGlobalNs
Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!!
deps/src/libxml2-2.9.1/python/libxml2.py
def newGlobalNs(self, href, prefix): """Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!! """ ret = libxml2mod.xmlNewGlobalNs(self._o, href, prefix) if ret is None:raise treeError('xmlNewGlobalNs() failed') __tmp = xmlNs(_obj=ret) return ...
def newGlobalNs(self, href, prefix): """Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!! """ ret = libxml2mod.xmlNewGlobalNs(self._o, href, prefix) if ret is None:raise treeError('xmlNewGlobalNs() failed') __tmp = xmlNs(_obj=ret) return ...
[ "Creation", "of", "a", "Namespace", "the", "old", "way", "using", "PI", "and", "without", "scoping", "DEPRECATED", "!!!" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4403-L4409
[ "def", "newGlobalNs", "(", "self", ",", "href", ",", "prefix", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewGlobalNs", "(", "self", ".", "_o", ",", "href", ",", "prefix", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewGlobal...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.newReference
Creation of a new reference node.
deps/src/libxml2-2.9.1/python/libxml2.py
def newReference(self, name): """Creation of a new reference node. """ ret = libxml2mod.xmlNewReference(self._o, name) if ret is None:raise treeError('xmlNewReference() failed') __tmp = xmlNode(_obj=ret) return __tmp
def newReference(self, name): """Creation of a new reference node. """ ret = libxml2mod.xmlNewReference(self._o, name) if ret is None:raise treeError('xmlNewReference() failed') __tmp = xmlNode(_obj=ret) return __tmp
[ "Creation", "of", "a", "new", "reference", "node", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4411-L4416
[ "def", "newReference", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlNewReference", "(", "self", ".", "_o", ",", "name", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlNewReference() failed'", ")", "__tmp", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.nodeDumpOutput
Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called
deps/src/libxml2-2.9.1/python/libxml2.py
def nodeDumpOutput(self, buf, cur, level, format, encoding): """Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called """ if buf is None: buf__o = ...
def nodeDumpOutput(self, buf, cur, level, format, encoding): """Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called """ if buf is None: buf__o = ...
[ "Dump", "an", "XML", "node", "recursive", "behaviour", "children", "are", "printed", "too", ".", "Note", "that" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4418-L4427
[ "def", "nodeDumpOutput", "(", "self", ",", "buf", ",", "cur", ",", "level", ",", "format", ",", "encoding", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "if", "cur", "is", "None", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.nodeGetBase
Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it...
deps/src/libxml2-2.9.1/python/libxml2.py
def nodeGetBase(self, cur): """Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI f...
def nodeGetBase(self, cur): """Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI f...
[ "Searches", "for", "the", "BASE", "URL", ".", "The", "code", "should", "work", "on", "both", "XML", "and", "HTML", "document", "even", "if", "base", "mechanisms", "are", "completely", "different", ".", "It", "returns", "the", "base", "as", "defined", "in",...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4429-L4439
[ "def", "nodeGetBase", "(", "self", ",", "cur", ")", ":", "if", "cur", "is", "None", ":", "cur__o", "=", "None", "else", ":", "cur__o", "=", "cur", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNodeGetBase", "(", "self", ".", "_o", ",", "cur__o", ")...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.nodeListGetRawString
Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling.
deps/src/libxml2-2.9.1/python/libxml2.py
def nodeListGetRawString(self, list, inLine): """Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling. """ if list is None: list__o = N...
def nodeListGetRawString(self, list, inLine): """Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling. """ if list is None: list__o = N...
[ "Builds", "the", "string", "equivalent", "to", "the", "text", "contained", "in", "the", "Node", "list", "made", "of", "TEXTs", "and", "ENTITY_REFs", "contrary", "to", "xmlNodeListGetString", "()", "this", "function", "doesn", "t", "do", "any", "character", "en...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4441-L4449
[ "def", "nodeListGetRawString", "(", "self", ",", "list", ",", "inLine", ")", ":", "if", "list", "is", "None", ":", "list__o", "=", "None", "else", ":", "list__o", "=", "list", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNodeListGetRawString", "(", "sel...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.nodeListGetString
Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs
deps/src/libxml2-2.9.1/python/libxml2.py
def nodeListGetString(self, list, inLine): """Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs """ if list is None: list__o = None else: list__o = list._o ret = libxml2mod.xmlNodeListGetString(self._o, list__o, inLine) re...
def nodeListGetString(self, list, inLine): """Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs """ if list is None: list__o = None else: list__o = list._o ret = libxml2mod.xmlNodeListGetString(self._o, list__o, inLine) re...
[ "Build", "the", "string", "equivalent", "to", "the", "text", "contained", "in", "the", "Node", "list", "made", "of", "TEXTs", "and", "ENTITY_REFs" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4451-L4457
[ "def", "nodeListGetString", "(", "self", ",", "list", ",", "inLine", ")", ":", "if", "list", "is", "None", ":", "list__o", "=", "None", "else", ":", "list__o", "=", "list", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlNodeListGetString", "(", "self", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.reconciliateNs
This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much ...
deps/src/libxml2-2.9.1/python/libxml2.py
def reconciliateNs(self, tree): """This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outs...
def reconciliateNs(self, tree): """This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outs...
[ "This", "function", "checks", "that", "all", "the", "namespaces", "declared", "within", "the", "given", "tree", "are", "properly", "declared", ".", "This", "is", "needed", "for", "example", "after", "Copy", "or", "Cut", "and", "then", "paste", "operations", ...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4459-L4472
[ "def", "reconciliateNs", "(", "self", ",", "tree", ")", ":", "if", "tree", "is", "None", ":", "tree__o", "=", "None", "else", ":", "tree__o", "=", "tree", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlReconciliateNs", "(", "self", ".", "_o", ",", "tr...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFile
Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used.
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFile(self, filename): """Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. """ ret = libxml2mod.xmlSaveFile(filename, self._o) return ret
def saveFile(self, filename): """Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. """ ret = libxml2mod.xmlSaveFile(filename, self._o) return ret
[ "Dump", "an", "XML", "document", "to", "a", "file", ".", "Will", "use", "compression", "if", "compiled", "in", "and", "enabled", ".", "If" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4474-L4479
[ "def", "saveFile", "(", "self", ",", "filename", ")", ":", "ret", "=", "libxml2mod", ".", "xmlSaveFile", "(", "filename", ",", "self", ".", "_o", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFileEnc
Dump an XML document, converting it to the given encoding
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFileEnc(self, filename, encoding): """Dump an XML document, converting it to the given encoding """ ret = libxml2mod.xmlSaveFileEnc(filename, self._o, encoding) return ret
def saveFileEnc(self, filename, encoding): """Dump an XML document, converting it to the given encoding """ ret = libxml2mod.xmlSaveFileEnc(filename, self._o, encoding) return ret
[ "Dump", "an", "XML", "document", "converting", "it", "to", "the", "given", "encoding" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4481-L4484
[ "def", "saveFileEnc", "(", "self", ",", "filename", ",", "encoding", ")", ":", "ret", "=", "libxml2mod", ".", "xmlSaveFileEnc", "(", "filename", ",", "self", ".", "_o", ",", "encoding", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFileTo
Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFileTo(self, buf, encoding): """Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. """ if buf is None: buf__o = None else: buf__o = buf._o ret = libxml2mod.xmlSaveFileTo(buf__o, sel...
def saveFileTo(self, buf, encoding): """Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. """ if buf is None: buf__o = None else: buf__o = buf._o ret = libxml2mod.xmlSaveFileTo(buf__o, sel...
[ "Dump", "an", "XML", "document", "to", "an", "I", "/", "O", "buffer", ".", "Warning", "!", "This", "call", "xmlOutputBufferClose", "()", "on", "buf", "which", "is", "not", "available", "after", "this", "call", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4486-L4493
[ "def", "saveFileTo", "(", "self", ",", "buf", ",", "encoding", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlSaveFileTo", "(", "buf__o", ",", "self", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFormatFile
Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or ...
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFormatFile(self, filename, format): """Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node ...
def saveFormatFile(self, filename, format): """Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node ...
[ "Dump", "an", "XML", "document", "to", "a", "file", ".", "Will", "use", "compression", "if", "compiled", "in", "and", "enabled", ".", "If" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4495-L4503
[ "def", "saveFormatFile", "(", "self", ",", "filename", ",", "format", ")", ":", "ret", "=", "libxml2mod", ".", "xmlSaveFormatFile", "(", "filename", ",", "self", ".", "_o", ",", "format", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFormatFileEnc
Dump an XML document to a file or an URL.
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFormatFileEnc(self, filename, encoding, format): """Dump an XML document to a file or an URL. """ ret = libxml2mod.xmlSaveFormatFileEnc(filename, self._o, encoding, format) return ret
def saveFormatFileEnc(self, filename, encoding, format): """Dump an XML document to a file or an URL. """ ret = libxml2mod.xmlSaveFormatFileEnc(filename, self._o, encoding, format) return ret
[ "Dump", "an", "XML", "document", "to", "a", "file", "or", "an", "URL", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4505-L4508
[ "def", "saveFormatFileEnc", "(", "self", ",", "filename", ",", "encoding", ",", "format", ")", ":", "ret", "=", "libxml2mod", ".", "xmlSaveFormatFileEnc", "(", "filename", ",", "self", ".", "_o", ",", "encoding", ",", "format", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.saveFormatFileTo
Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call.
deps/src/libxml2-2.9.1/python/libxml2.py
def saveFormatFileTo(self, buf, encoding, format): """Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. """ if buf is None: buf__o = None else: buf__o = buf._o ret = libxml2mod.xmlSaveForm...
def saveFormatFileTo(self, buf, encoding, format): """Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. """ if buf is None: buf__o = None else: buf__o = buf._o ret = libxml2mod.xmlSaveForm...
[ "Dump", "an", "XML", "document", "to", "an", "I", "/", "O", "buffer", ".", "Warning", "!", "This", "call", "xmlOutputBufferClose", "()", "on", "buf", "which", "is", "not", "available", "after", "this", "call", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4510-L4517
[ "def", "saveFormatFileTo", "(", "self", ",", "buf", ",", "encoding", ",", "format", ")", ":", "if", "buf", "is", "None", ":", "buf__o", "=", "None", "else", ":", "buf__o", "=", "buf", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlSaveFormatFileTo", "("...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.searchNs
Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return None otherwise. @nameSpace can be None, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't decl...
deps/src/libxml2-2.9.1/python/libxml2.py
def searchNs(self, node, nameSpace): """Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return None otherwise. @nameSpace can be None, this is a search for the default namespace. We don't allow ...
def searchNs(self, node, nameSpace): """Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return None otherwise. @nameSpace can be None, this is a search for the default namespace. We don't allow ...
[ "Search", "a", "Ns", "registered", "under", "a", "given", "name", "space", "for", "a", "document", ".", "recurse", "on", "the", "parents", "until", "it", "finds", "the", "defined", "namespace", "or", "return", "None", "otherwise", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4519-L4532
[ "def", "searchNs", "(", "self", ",", "node", ",", "nameSpace", ")", ":", "if", "node", "is", "None", ":", "node__o", "=", "None", "else", ":", "node__o", "=", "node", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlSearchNs", "(", "self", ".", "_o", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.searchNsByHref
Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return None otherwise.
deps/src/libxml2-2.9.1/python/libxml2.py
def searchNsByHref(self, node, href): """Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return None otherwise. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlSearchNsByHref(self._o, no...
def searchNsByHref(self, node, href): """Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return None otherwise. """ if node is None: node__o = None else: node__o = node._o ret = libxml2mod.xmlSearchNsByHref(self._o, no...
[ "Search", "a", "Ns", "aliasing", "a", "given", "URI", ".", "Recurse", "on", "the", "parents", "until", "it", "finds", "the", "defined", "namespace", "or", "return", "None", "otherwise", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4534-L4543
[ "def", "searchNsByHref", "(", "self", ",", "node", ",", "href", ")", ":", "if", "node", "is", "None", ":", "node__o", "=", "None", "else", ":", "node__o", "=", "node", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlSearchNsByHref", "(", "self", ".", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.setListDoc
update all nodes in the list to point to the right document
deps/src/libxml2-2.9.1/python/libxml2.py
def setListDoc(self, list): """update all nodes in the list to point to the right document """ if list is None: list__o = None else: list__o = list._o libxml2mod.xmlSetListDoc(list__o, self._o)
def setListDoc(self, list): """update all nodes in the list to point to the right document """ if list is None: list__o = None else: list__o = list._o libxml2mod.xmlSetListDoc(list__o, self._o)
[ "update", "all", "nodes", "in", "the", "list", "to", "point", "to", "the", "right", "document" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4550-L4554
[ "def", "setListDoc", "(", "self", ",", "list", ")", ":", "if", "list", "is", "None", ":", "list__o", "=", "None", "else", ":", "list__o", "=", "list", ".", "_o", "libxml2mod", ".", "xmlSetListDoc", "(", "list__o", ",", "self", ".", "_o", ")" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.setRootElement
Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).
deps/src/libxml2-2.9.1/python/libxml2.py
def setRootElement(self, root): """Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). """ if root is None: root__o = None else: root__o = root._o ret = libxml2mod.xmlDocSetRootElement(self._o, root__o) if ret is N...
def setRootElement(self, root): """Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). """ if root is None: root__o = None else: root__o = root._o ret = libxml2mod.xmlDocSetRootElement(self._o, root__o) if ret is N...
[ "Set", "the", "root", "element", "of", "the", "document", "(", "doc", "-", ">", "children", "is", "a", "list", "containing", "possibly", "comments", "PIs", "etc", "...", ")", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4556-L4564
[ "def", "setRootElement", "(", "self", ",", "root", ")", ":", "if", "root", "is", "None", ":", "root__o", "=", "None", "else", ":", "root__o", "=", "root", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlDocSetRootElement", "(", "self", ".", "_o", ",", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.setTreeDoc
update all nodes under the tree to point to the right document
deps/src/libxml2-2.9.1/python/libxml2.py
def setTreeDoc(self, tree): """update all nodes under the tree to point to the right document """ if tree is None: tree__o = None else: tree__o = tree._o libxml2mod.xmlSetTreeDoc(tree__o, self._o)
def setTreeDoc(self, tree): """update all nodes under the tree to point to the right document """ if tree is None: tree__o = None else: tree__o = tree._o libxml2mod.xmlSetTreeDoc(tree__o, self._o)
[ "update", "all", "nodes", "under", "the", "tree", "to", "point", "to", "the", "right", "document" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4566-L4571
[ "def", "setTreeDoc", "(", "self", ",", "tree", ")", ":", "if", "tree", "is", "None", ":", "tree__o", "=", "None", "else", ":", "tree__o", "=", "tree", ".", "_o", "libxml2mod", ".", "xmlSetTreeDoc", "(", "tree__o", ",", "self", ".", "_o", ")" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.stringGetNodeList
Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
deps/src/libxml2-2.9.1/python/libxml2.py
def stringGetNodeList(self, value): """Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. """ ret = libxml2mod.xmlStringGetNodeList(self._o, value) if ret is None:raise treeError('xmlStringGetNodeList() failed') ...
def stringGetNodeList(self, value): """Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. """ ret = libxml2mod.xmlStringGetNodeList(self._o, value) if ret is None:raise treeError('xmlStringGetNodeList() failed') ...
[ "Parse", "the", "value", "string", "and", "build", "the", "node", "list", "associated", ".", "Should", "produce", "a", "flat", "tree", "with", "only", "TEXTs", "and", "ENTITY_REFs", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4573-L4579
[ "def", "stringGetNodeList", "(", "self", ",", "value", ")", ":", "ret", "=", "libxml2mod", ".", "xmlStringGetNodeList", "(", "self", ".", "_o", ",", "value", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlStringGetNodeList() failed'", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.stringLenGetNodeList
Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.
deps/src/libxml2-2.9.1/python/libxml2.py
def stringLenGetNodeList(self, value, len): """Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. """ ret = libxml2mod.xmlStringLenGetNodeList(self._o, value, len) if ret is None:raise treeError('xmlStringLenGetNodeLi...
def stringLenGetNodeList(self, value, len): """Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. """ ret = libxml2mod.xmlStringLenGetNodeList(self._o, value, len) if ret is None:raise treeError('xmlStringLenGetNodeLi...
[ "Parse", "the", "value", "string", "and", "build", "the", "node", "list", "associated", ".", "Should", "produce", "a", "flat", "tree", "with", "only", "TEXTs", "and", "ENTITY_REFs", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4581-L4587
[ "def", "stringLenGetNodeList", "(", "self", ",", "value", ",", "len", ")", ":", "ret", "=", "libxml2mod", ".", "xmlStringLenGetNodeList", "(", "self", ".", "_o", ",", "value", ",", "len", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.ID
Search the attribute declaring the given ID
deps/src/libxml2-2.9.1/python/libxml2.py
def ID(self, ID): """Search the attribute declaring the given ID """ ret = libxml2mod.xmlGetID(self._o, ID) if ret is None:raise treeError('xmlGetID() failed') __tmp = xmlAttr(_obj=ret) return __tmp
def ID(self, ID): """Search the attribute declaring the given ID """ ret = libxml2mod.xmlGetID(self._o, ID) if ret is None:raise treeError('xmlGetID() failed') __tmp = xmlAttr(_obj=ret) return __tmp
[ "Search", "the", "attribute", "declaring", "the", "given", "ID" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4593-L4598
[ "def", "ID", "(", "self", ",", "ID", ")", ":", "ret", "=", "libxml2mod", ".", "xmlGetID", "(", "self", ".", "_o", ",", "ID", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlGetID() failed'", ")", "__tmp", "=", "xmlAttr", "(", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.isID
Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.
deps/src/libxml2-2.9.1/python/libxml2.py
def isID(self, elem, attr): """Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically. """ if elem is None...
def isID(self, elem, attr): """Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically. """ if elem is None...
[ "Determine", "whether", "an", "attribute", "is", "of", "type", "ID", ".", "In", "case", "we", "have", "DTD", "(", "s", ")", "then", "this", "is", "done", "if", "DTD", "loading", "has", "been", "requested", ".", "In", "the", "case", "of", "HTML", "doc...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4600-L4610
[ "def", "isID", "(", "self", ",", "elem", ",", "attr", ")", ":", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "else", ":", "elem__o", "=", "elem", ".", "_o", "if", "attr", "is", "None", ":", "attr__o", "=", "None", "else", ":", "attr__...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.isMixedElement
Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs
deps/src/libxml2-2.9.1/python/libxml2.py
def isMixedElement(self, name): """Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs """ ret = libxml2mod.xmlIsMixedElement(self._o, name) return ret
def isMixedElement(self, name): """Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs """ ret = libxml2mod.xmlIsMixedElement(self._o, name) return ret
[ "Search", "in", "the", "DtDs", "whether", "an", "element", "accept", "Mixed", "content", "(", "or", "ANY", ")", "basically", "if", "it", "is", "supposed", "to", "accept", "text", "childs" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4612-L4616
[ "def", "isMixedElement", "(", "self", ",", "name", ")", ":", "ret", "=", "libxml2mod", ".", "xmlIsMixedElement", "(", "self", ".", "_o", ",", "name", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.isRef
Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase).
deps/src/libxml2-2.9.1/python/libxml2.py
def isRef(self, elem, attr): """Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase). """ if elem is None: elem__o = None else: elem__o = elem._o if attr is None: attr_...
def isRef(self, elem, attr): """Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase). """ if elem is None: elem__o = None else: elem__o = elem._o if attr is None: attr_...
[ "Determine", "whether", "an", "attribute", "is", "of", "type", "Ref", ".", "In", "case", "we", "have", "DTD", "(", "s", ")", "then", "this", "is", "simple", "otherwise", "we", "use", "an", "heuristic", ":", "name", "Ref", "(", "upper", "or", "lowercase...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4618-L4627
[ "def", "isRef", "(", "self", ",", "elem", ",", "attr", ")", ":", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "else", ":", "elem__o", "=", "elem", ".", "_o", "if", "attr", "is", "None", ":", "attr__o", "=", "None", "else", ":", "attr_...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.removeID
Remove the given attribute from the ID table maintained internally.
deps/src/libxml2-2.9.1/python/libxml2.py
def removeID(self, attr): """Remove the given attribute from the ID table maintained internally. """ if attr is None: attr__o = None else: attr__o = attr._o ret = libxml2mod.xmlRemoveID(self._o, attr__o) return ret
def removeID(self, attr): """Remove the given attribute from the ID table maintained internally. """ if attr is None: attr__o = None else: attr__o = attr._o ret = libxml2mod.xmlRemoveID(self._o, attr__o) return ret
[ "Remove", "the", "given", "attribute", "from", "the", "ID", "table", "maintained", "internally", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4629-L4635
[ "def", "removeID", "(", "self", ",", "attr", ")", ":", "if", "attr", "is", "None", ":", "attr__o", "=", "None", "else", ":", "attr__o", "=", "attr", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlRemoveID", "(", "self", ".", "_o", ",", "attr__o", ")...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.removeRef
Remove the given attribute from the Ref table maintained internally.
deps/src/libxml2-2.9.1/python/libxml2.py
def removeRef(self, attr): """Remove the given attribute from the Ref table maintained internally. """ if attr is None: attr__o = None else: attr__o = attr._o ret = libxml2mod.xmlRemoveRef(self._o, attr__o) return ret
def removeRef(self, attr): """Remove the given attribute from the Ref table maintained internally. """ if attr is None: attr__o = None else: attr__o = attr._o ret = libxml2mod.xmlRemoveRef(self._o, attr__o) return ret
[ "Remove", "the", "given", "attribute", "from", "the", "Ref", "table", "maintained", "internally", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4637-L4643
[ "def", "removeRef", "(", "self", ",", "attr", ")", ":", "if", "attr", "is", "None", ":", "attr__o", "=", "None", "else", ":", "attr__o", "=", "attr", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlRemoveRef", "(", "self", ".", "_o", ",", "attr__o", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validCtxtNormalizeAttributeValue
Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequen...
deps/src/libxml2-2.9.1/python/libxml2.py
def validCtxtNormalizeAttributeValue(self, ctxt, elem, name, value): """Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any...
def validCtxtNormalizeAttributeValue(self, ctxt, elem, name, value): """Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any...
[ "Does", "the", "validation", "related", "extra", "step", "of", "the", "normalization", "of", "attribute", "values", ":", "If", "the", "declared", "value", "is", "not", "CDATA", "then", "the", "XML", "processor", "must", "further", "process", "the", "normalized...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4645-L4659
[ "def", "validCtxtNormalizeAttributeValue", "(", "self", ",", "ctxt", ",", "elem", ",", "name", ",", "value", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validNormalizeAttributeValue
Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequen...
deps/src/libxml2-2.9.1/python/libxml2.py
def validNormalizeAttributeValue(self, elem, name, value): """Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading a...
def validNormalizeAttributeValue(self, elem, name, value): """Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading a...
[ "Does", "the", "validation", "related", "extra", "step", "of", "the", "normalization", "of", "attribute", "values", ":", "If", "the", "declared", "value", "is", "not", "CDATA", "then", "the", "XML", "processor", "must", "further", "process", "the", "normalized...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4661-L4671
[ "def", "validNormalizeAttributeValue", "(", "self", ",", "elem", ",", "name", ",", "value", ")", ":", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "else", ":", "elem__o", "=", "elem", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidNormali...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateDocument
Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.
deps/src/libxml2-2.9.1/python/libxml2.py
def validateDocument(self, ctxt): """Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree. """ if ctxt is None: ctxt__o = None ...
def validateDocument(self, ctxt): """Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree. """ if ctxt is None: ctxt__o = None ...
[ "Try", "to", "validate", "the", "document", "instance", "basically", "it", "does", "the", "all", "the", "checks", "described", "by", "the", "XML", "Rec", "i", ".", "e", ".", "validates", "the", "internal", "and", "external", "subset", "(", "if", "present",...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4673-L4681
[ "def", "validateDocument", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidateDocument", "(", "ctxt__o", ",", "self", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateDocumentFinal
Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity
deps/src/libxml2-2.9.1/python/libxml2.py
def validateDocumentFinal(self, ctxt): """Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for v...
def validateDocumentFinal(self, ctxt): """Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for v...
[ "Does", "the", "final", "step", "for", "the", "document", "validation", "once", "all", "the", "incremental", "validation", "steps", "have", "been", "completed", "basically", "it", "does", "the", "following", "checks", "described", "by", "the", "XML", "Rec", "C...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4683-L4692
[ "def", "validateDocumentFinal", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidateDocumentFinal", "(", "ctxt__o", ",", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateDtd
Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present.
deps/src/libxml2-2.9.1/python/libxml2.py
def validateDtd(self, ctxt, dtd): """Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present...
def validateDtd(self, ctxt, dtd): """Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present...
[ "Try", "to", "validate", "the", "document", "against", "the", "dtd", "instance", "Basically", "it", "does", "check", "all", "the", "definitions", "in", "the", "DtD", ".", "Note", "the", "the", "internal", "subset", "(", "if", "present", ")", "is", "de", ...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4694-L4705
[ "def", "validateDtd", "(", "self", ",", "ctxt", ",", "dtd", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "dtd", "is", "None", ":", "dtd__o", "=", "None", "else", ":", "dt...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateDtdFinal
Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one of the defined entities. - check that NOTATIO...
deps/src/libxml2-2.9.1/python/libxml2.py
def validateDtdFinal(self, ctxt): """Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one ...
def validateDtdFinal(self, ctxt): """Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one ...
[ "Does", "the", "final", "step", "for", "the", "dtds", "validation", "once", "all", "the", "subsets", "have", "been", "parsed", "basically", "it", "does", "the", "following", "checks", "described", "by", "the", "XML", "Rec", "-", "check", "that", "ENTITY", ...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4707-L4718
[ "def", "validateDtdFinal", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidateDtdFinal", "(", "ctxt__o", ",", "self", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateElement
Try to validate the subtree under an element
deps/src/libxml2-2.9.1/python/libxml2.py
def validateElement(self, ctxt, elem): """Try to validate the subtree under an element """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidateElement(ctxt__o, self._o, elem__o) ...
def validateElement(self, ctxt, elem): """Try to validate the subtree under an element """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidateElement(ctxt__o, self._o, elem__o) ...
[ "Try", "to", "validate", "the", "subtree", "under", "an", "element" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4720-L4727
[ "def", "validateElement", "(", "self", ",", "ctxt", ",", "elem", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "else", ":"...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateNotationUse
Validate that the given name match a notation declaration. - [ VC: Notation Declared ]
deps/src/libxml2-2.9.1/python/libxml2.py
def validateNotationUse(self, ctxt, notationName): """Validate that the given name match a notation declaration. - [ VC: Notation Declared ] """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlValidateNotationUse(ctxt__o, self._o, notationName) ...
def validateNotationUse(self, ctxt, notationName): """Validate that the given name match a notation declaration. - [ VC: Notation Declared ] """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlValidateNotationUse(ctxt__o, self._o, notationName) ...
[ "Validate", "that", "the", "given", "name", "match", "a", "notation", "declaration", ".", "-", "[", "VC", ":", "Notation", "Declared", "]" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4729-L4735
[ "def", "validateNotationUse", "(", "self", ",", "ctxt", ",", "notationName", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidateNotationUse", "(", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateOneAttribute
Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: En...
deps/src/libxml2-2.9.1/python/libxml2.py
def validateOneAttribute(self, ctxt, elem, attr, value): """Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - ...
def validateOneAttribute(self, ctxt, elem, attr, value): """Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - ...
[ "Try", "to", "validate", "a", "single", "attribute", "for", "an", "element", "basically", "it", "does", "the", "following", "checks", "as", "described", "by", "the", "XML", "-", "1", ".", "0", "recommendation", ":", "-", "[", "VC", ":", "Attribute", "Val...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4737-L4752
[ "def", "validateOneAttribute", "(", "self", ",", "ctxt", ",", "elem", ",", "attr", ",", "value", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "el...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateOneElement
Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings ar...
deps/src/libxml2-2.9.1/python/libxml2.py
def validateOneElement(self, ctxt, elem): """Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() f...
def validateOneElement(self, ctxt, elem): """Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() f...
[ "Try", "to", "validate", "a", "single", "element", "and", "it", "s", "attributes", "basically", "it", "does", "the", "following", "checks", "as", "described", "by", "the", "XML", "-", "1", ".", "0", "recommendation", ":", "-", "[", "VC", ":", "Element", ...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4754-L4766
[ "def", "validateOneElement", "(", "self", ",", "ctxt", ",", "elem", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "None", "else", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateOneNamespace
Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ...
deps/src/libxml2-2.9.1/python/libxml2.py
def validateOneNamespace(self, ctxt, elem, prefix, ns, value): """Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC...
def validateOneNamespace(self, ctxt, elem, prefix, ns, value): """Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC...
[ "Try", "to", "validate", "a", "single", "namespace", "declaration", "for", "an", "element", "basically", "it", "does", "the", "following", "checks", "as", "described", "by", "the", "XML", "-", "1", ".", "0", "recommendation", ":", "-", "[", "VC", ":", "A...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4768-L4783
[ "def", "validateOneNamespace", "(", "self", ",", "ctxt", ",", "elem", ",", "prefix", ",", "ns", ",", "value", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "No...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validatePopElement
Pop the element end from the validation stack.
deps/src/libxml2-2.9.1/python/libxml2.py
def validatePopElement(self, ctxt, elem, qname): """Pop the element end from the validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidatePopElement(ctxt__o, self._o, ...
def validatePopElement(self, ctxt, elem, qname): """Pop the element end from the validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidatePopElement(ctxt__o, self._o, ...
[ "Pop", "the", "element", "end", "from", "the", "validation", "stack", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4785-L4792
[ "def", "validatePopElement", "(", "self", ",", "ctxt", ",", "elem", ",", "qname", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "N...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validatePushElement
Push a new element start on the validation stack.
deps/src/libxml2-2.9.1/python/libxml2.py
def validatePushElement(self, ctxt, elem, qname): """Push a new element start on the validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidatePushElement(ctxt__o, self...
def validatePushElement(self, ctxt, elem, qname): """Push a new element start on the validation stack. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o if elem is None: elem__o = None else: elem__o = elem._o ret = libxml2mod.xmlValidatePushElement(ctxt__o, self...
[ "Push", "a", "new", "element", "start", "on", "the", "validation", "stack", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4794-L4801
[ "def", "validatePushElement", "(", "self", ",", "ctxt", ",", "elem", ",", "qname", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "if", "elem", "is", "None", ":", "elem__o", "=", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.validateRoot
Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element
deps/src/libxml2-2.9.1/python/libxml2.py
def validateRoot(self, ctxt): """Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element """ if ctxt is None: ctxt__o = No...
def validateRoot(self, ctxt): """Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element """ if ctxt is None: ctxt__o = No...
[ "Try", "to", "validate", "a", "the", "root", "element", "basically", "it", "does", "the", "following", "check", "as", "described", "by", "the", "XML", "-", "1", ".", "0", "recommendation", ":", "-", "[", "VC", ":", "Root", "Element", "Type", "]", "it",...
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4803-L4811
[ "def", "validateRoot", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlValidateRoot", "(", "ctxt__o", ",", "self", ".", "_...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.xincludeProcessFlags
Implement the XInclude substitution on the XML document @doc
deps/src/libxml2-2.9.1/python/libxml2.py
def xincludeProcessFlags(self, flags): """Implement the XInclude substitution on the XML document @doc """ ret = libxml2mod.xmlXIncludeProcessFlags(self._o, flags) return ret
def xincludeProcessFlags(self, flags): """Implement the XInclude substitution on the XML document @doc """ ret = libxml2mod.xmlXIncludeProcessFlags(self._o, flags) return ret
[ "Implement", "the", "XInclude", "substitution", "on", "the", "XML", "document" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4822-L4825
[ "def", "xincludeProcessFlags", "(", "self", ",", "flags", ")", ":", "ret", "=", "libxml2mod", ".", "xmlXIncludeProcessFlags", "(", "self", ".", "_o", ",", "flags", ")", "return", "ret" ]
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.NewWalker
Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader.
deps/src/libxml2-2.9.1/python/libxml2.py
def NewWalker(self, reader): """Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader. """ if reader is None: reader__o = None else: reader__o = reader._o ret = libxml2mod.xmlReaderNewWalker(reader__o, self._o) return ...
def NewWalker(self, reader): """Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader. """ if reader is None: reader__o = None else: reader__o = reader._o ret = libxml2mod.xmlReaderNewWalker(reader__o, self._o) return ...
[ "Setup", "an", "xmltextReader", "to", "parse", "a", "preparsed", "XML", "document", ".", "This", "reuses", "the", "existing" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4831-L4837
[ "def", "NewWalker", "(", "self", ",", "reader", ")", ":", "if", "reader", "is", "None", ":", "reader__o", "=", "None", "else", ":", "reader__o", "=", "reader", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlReaderNewWalker", "(", "reader__o", ",", "self",...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.readerWalker
Create an xmltextReader for a preparsed document.
deps/src/libxml2-2.9.1/python/libxml2.py
def readerWalker(self): """Create an xmltextReader for a preparsed document. """ ret = libxml2mod.xmlReaderWalker(self._o) if ret is None:raise treeError('xmlReaderWalker() failed') __tmp = xmlTextReader(_obj=ret) return __tmp
def readerWalker(self): """Create an xmltextReader for a preparsed document. """ ret = libxml2mod.xmlReaderWalker(self._o) if ret is None:raise treeError('xmlReaderWalker() failed') __tmp = xmlTextReader(_obj=ret) return __tmp
[ "Create", "an", "xmltextReader", "for", "a", "preparsed", "document", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4839-L4844
[ "def", "readerWalker", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlReaderWalker", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "treeError", "(", "'xmlReaderWalker() failed'", ")", "__tmp", "=", "xmlTextReader", "(", "...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.schemaNewDocParserCtxt
Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.
deps/src/libxml2-2.9.1/python/libxml2.py
def schemaNewDocParserCtxt(self): """Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process. """ ret = libxml2mod.xmlSchemaNewDocParserCtxt(self._o) if ret is None:raise parserError('xmlSchemaNewDocParserCtxt() failed') ...
def schemaNewDocParserCtxt(self): """Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process. """ ret = libxml2mod.xmlSchemaNewDocParserCtxt(self._o) if ret is None:raise parserError('xmlSchemaNewDocParserCtxt() failed') ...
[ "Create", "an", "XML", "Schemas", "parse", "context", "for", "that", "document", ".", "NB", ".", "The", "document", "may", "be", "modified", "during", "the", "parsing", "process", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4850-L4856
[ "def", "schemaNewDocParserCtxt", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlSchemaNewDocParserCtxt", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "parserError", "(", "'xmlSchemaNewDocParserCtxt() failed'", ")", "__tmp", "=...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.schemaValidateDoc
Validate a document tree in memory.
deps/src/libxml2-2.9.1/python/libxml2.py
def schemaValidateDoc(self, ctxt): """Validate a document tree in memory. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlSchemaValidateDoc(ctxt__o, self._o) return ret
def schemaValidateDoc(self, ctxt): """Validate a document tree in memory. """ if ctxt is None: ctxt__o = None else: ctxt__o = ctxt._o ret = libxml2mod.xmlSchemaValidateDoc(ctxt__o, self._o) return ret
[ "Validate", "a", "document", "tree", "in", "memory", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4858-L4863
[ "def", "schemaValidateDoc", "(", "self", ",", "ctxt", ")", ":", "if", "ctxt", "is", "None", ":", "ctxt__o", "=", "None", "else", ":", "ctxt__o", "=", "ctxt", ".", "_o", "ret", "=", "libxml2mod", ".", "xmlSchemaValidateDoc", "(", "ctxt__o", ",", "self", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.xpathNewContext
Create a new xmlXPathContext
deps/src/libxml2-2.9.1/python/libxml2.py
def xpathNewContext(self): """Create a new xmlXPathContext """ ret = libxml2mod.xmlXPathNewContext(self._o) if ret is None:raise xpathError('xmlXPathNewContext() failed') __tmp = xpathContext(_obj=ret) return __tmp
def xpathNewContext(self): """Create a new xmlXPathContext """ ret = libxml2mod.xmlXPathNewContext(self._o) if ret is None:raise xpathError('xmlXPathNewContext() failed') __tmp = xpathContext(_obj=ret) return __tmp
[ "Create", "a", "new", "xmlXPathContext" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4869-L4874
[ "def", "xpathNewContext", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlXPathNewContext", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "xpathError", "(", "'xmlXPathNewContext() failed'", ")", "__tmp", "=", "xpathContext", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
xmlDoc.xpointerNewContext
Create a new XPointer context
deps/src/libxml2-2.9.1/python/libxml2.py
def xpointerNewContext(self, here, origin): """Create a new XPointer context """ if here is None: here__o = None else: here__o = here._o if origin is None: origin__o = None else: origin__o = origin._o ret = libxml2mod.xmlXPtrNewContext(self._o, here__o, origin__o) ...
def xpointerNewContext(self, here, origin): """Create a new XPointer context """ if here is None: here__o = None else: here__o = here._o if origin is None: origin__o = None else: origin__o = origin._o ret = libxml2mod.xmlXPtrNewContext(self._o, here__o, origin__o) ...
[ "Create", "a", "new", "XPointer", "context" ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4890-L4899
[ "def", "xpointerNewContext", "(", "self", ",", "here", ",", "origin", ")", ":", "if", "here", "is", "None", ":", "here__o", "=", "None", "else", ":", "here__o", "=", "here", ".", "_o", "if", "origin", "is", "None", ":", "origin__o", "=", "None", "els...
74514c3f99e25b46f22c6e02977fe3da69221c2e
train
parserCtxt.doc
Get the document tree from a parser context.
deps/src/libxml2-2.9.1/python/libxml2.py
def doc(self): """Get the document tree from a parser context. """ ret = libxml2mod.xmlParserGetDoc(self._o) if ret is None:raise parserError('xmlParserGetDoc() failed') __tmp = xmlDoc(_obj=ret) return __tmp
def doc(self): """Get the document tree from a parser context. """ ret = libxml2mod.xmlParserGetDoc(self._o) if ret is None:raise parserError('xmlParserGetDoc() failed') __tmp = xmlDoc(_obj=ret) return __tmp
[ "Get", "the", "document", "tree", "from", "a", "parser", "context", "." ]
apple/turicreate
python
https://github.com/apple/turicreate/blob/74514c3f99e25b46f22c6e02977fe3da69221c2e/deps/src/libxml2-2.9.1/python/libxml2.py#L4912-L4917
[ "def", "doc", "(", "self", ")", ":", "ret", "=", "libxml2mod", ".", "xmlParserGetDoc", "(", "self", ".", "_o", ")", "if", "ret", "is", "None", ":", "raise", "parserError", "(", "'xmlParserGetDoc() failed'", ")", "__tmp", "=", "xmlDoc", "(", "_obj", "=", ...
74514c3f99e25b46f22c6e02977fe3da69221c2e