Revision e3b66e4b docs/source/xml_.rst
b/docs/source/xml_.rst | ||
---|---|---|
1 |
:mod:`~ncclient.xml_` -- XML Handling
|
|
1 |
:mod:`~ncclient.xml_` -- XML handling
|
|
2 | 2 |
===================================== |
3 | 3 |
|
4 |
*TODO* |
|
4 |
.. module:: ncclient.xml_ |
|
5 |
:synopsis: XML handling |
|
6 |
|
|
7 |
.. autoexception:: XMLError |
|
8 |
:show-inheritance: |
|
9 |
|
|
10 |
Namespaces |
|
11 |
----------- |
|
12 |
|
|
13 |
.. autodata:: BASE_NS_1_0 |
|
14 |
|
|
15 |
.. autodata:: TAILF_AAA_1_1 |
|
16 |
|
|
17 |
.. autodata:: TAILF_EXECD_1_1 |
|
18 |
|
|
19 |
.. autodata:: CISCO_CPI_1_0 |
|
20 |
|
|
21 |
.. autodata:: FLOWMON_1_0 |
|
22 |
|
|
23 |
.. function:: register_namespace(prefix, uri) |
|
24 |
|
|
25 |
ElementTree's namespace map determines the prefixes for namespace URI's when serializing to XML. |
|
26 |
This method allows modifying this map to specify a prefix for a namespace URI. |
|
27 |
|
|
28 |
.. autofunction:: qualify |
|
29 |
|
|
30 |
Conversion |
|
31 |
----------- |
|
32 |
|
|
33 |
.. autofunction:: to_xml |
|
34 |
|
|
35 |
.. autofunction:: to_ele |
|
36 |
|
|
37 |
.. autofunction:: parse_root |
|
38 |
|
|
39 |
.. autofunction:: validated_element |
|
40 |
|
|
41 |
.. |
Also available in: Unified diff