Convert to dictionary
Turn XML (or the part a path finds) into a Dictionary; attributes become keys starting with @.
Command in the XML toolkit · id ooa.xml/to_dictionary · 4 inputs, 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| XML | String | No | XML text (or use path). | |
| Path | File | No | XML file (or use xml). | |
| XPath | String | No | Convert only the first node matching this XPath. | |
| Session | String | No | Work on the XML of this session (Start session) instead of a file or text; changes stay in the session until End session saves them. |
Outputs
| Output | Type | What it is |
|---|---|---|
| value | Any | Dictionary or text. |