WLJS LogoWLJS Notebook

XMLElement

XMLElement[tag, {attr1 -> val1, ...}, {data1, ...}] represents an element in symbolic XML.

Examples

Create an XML element:

XMLElement["book", {"id" -> "1"}, {"Title of Book"}]

Nested elements:

XMLElement["root", {}, {XMLElement["child", {}, {"content"}]}]

Please visit the official Wolfram Language Reference for more details.

On this page