Revision cc9af1c3 ncclient/glue.py
b/ncclient/glue.py | ||
---|---|---|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
def parse_root(raw): |
26 |
'''Parse the top-level element from a string representing an XML document. |
|
26 |
'''Internal use. |
|
27 |
Parse the top-level element from XML string. |
|
27 | 28 |
|
28 | 29 |
Returns a `(tag, attributes)` tuple, where `tag` is a string representing |
29 | 30 |
the qualified name of the root element and `attributes` is an |
Also available in: Unified diff