1
0
Fork 0
forked from fun/fun

Some XML examples documentation fixes. (0.37.1)

This commit is contained in:
Johannes Findeisen 2025-12-10 23:42:00 +01:00
commit b2986075cb
6 changed files with 185 additions and 1 deletions

View file

@ -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))
*/