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.XMLInDocorNone
Combine the nodes in the
Noneterminated array starting at nodes with the name spaces in theNoneterminated array starting at ns. Prepare the data structures necessary to validate a doument based on that description.
- add_nodes(nodes)¶
- Parameters:
nodes ([
Gsf.XMLInNode]) –Noneterminated array ofGsf.XMLInNode
Adds additional nodes to the structure of self
- free()¶
Free up resources
- parse(input, user_state)¶
- Parameters:
- Returns:
Falseon 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