Fetch XML Tree (vuo.tree.fetch.xml)

Loads or downloads a file containing XML-formatted text, and turns the text into a tree.

See vuo.url for info on how Vuo handles URLs.

If there’s an error in the XML, this node outputs an empty tree. Check Vuo’s Console window (Tools > Show Console) for details about the error.

The XML root element’s name, attributes, and content become the tree’s name, attributes, and content. The root element’s child elements become the tree’s children.

This node is a shortcut for Fetch Data -> Convert Data to Text -> Make Tree from XML.

Keywords: convert, descendant, dom, download, element, file, get, hierarchical, hierarchy, html, http, import, json, leaf, load, make, object, open, parent, parse, read, structure, tag, url, xml

Example composition:

Back to vuo.tree node set documentation.