Gsf.XMLInDoc¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Gsf.XMLInDoc¶
- classmethod new(nodes, ns)¶
- Parameters:
nodes ([
Gsf.XMLInNode
]) – an array of node descriptorsns ([
Gsf.XMLInNS
]) – an array of namespace identifiers
- Returns:
- Return type:
Gsf.XMLInDoc
orNone
Combine the nodes in the
None
terminated array starting at nodes with the name spaces in theNone
terminated array starting at ns. Prepare the data structures necessary to validate a doument based on that description.
- add_nodes(nodes)¶
- Parameters:
nodes ([
Gsf.XMLInNode
]) –None
terminated array ofGsf.XMLInNode
Adds additional nodes to the structure of self
- free()¶
Free up resources
- parse(input, user_state)¶
- Parameters:
- Returns:
False
on error- Return type:
Read an xml document from input and parse based on the the descriptor in self
- set_unknown_handler(handler)¶
- Parameters:
handler (
Gsf.XMLInUnknownFunc
) – The function to call
Call the function handler when an unexpected child node is found