Some XML examples documentation fixes. (0.37.1)
This commit is contained in:
parent
26ddaf161e
commit
b2986075cb
6 changed files with 185 additions and 1 deletions
|
|
@ -17,3 +17,8 @@ doc = xml_parse("<root><item id=\"1\">a</item><item id=\"2\">b</item></root>")
|
|||
print("doc handle=\(doc)")
|
||||
root = xml_root(doc)
|
||||
print("root name=\(xml_name(root)) text=\(xml_text(root))")
|
||||
|
||||
/* Expected output:
|
||||
doc handle=(doc)
|
||||
root name=(xml_name(root)) text=(xml_text(root))
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue