ilusm.dev

xml

XML parsing, serialization, XPath queries.

Load with: use xml

Quick example

use xml

result = xmlrd("value")
prn(result)

Functions

Parse

xmlrd(st)

Reads data. Takes st.

xmlpa(st, ix)

Parses. Takes st, ix.

xmlat(tg)

Performs the operation. Takes tg.

xmlun(st)

Performs the operation. Takes st.

xmles(st)

Performs the operation. Takes st.

Serialize

xmlwr(nd)

Writes data. Takes nd.

xmlsr(nd, in)

Performs the operation. Takes nd, in.

XPath

xmlxp(nd, xp)

Performs the operation. Takes nd, xp.

xmlcl(nds)

Closes or clears. Takes nds.

xmlfl(nds, fn)

Performs the operation. Takes nds, fn.

Helpers

xmltx(nd)

Performs the operation. Takes nd.

xmlat(nd, ky)

Performs the operation. Takes nd, ky.

xmlst(nd, ky, vl)

Sets a value or starts a process. Takes nd, ky, vl.

xmlfn(rt, nm)

Finalises. Takes rt, nm.

Notes

  • XML parsing, traversal, and serialisation.