xml
Extensible Markup Language (XML) (experimental)
XML is a structured data-type within Murex.
Wikipedia describes XML usage as:
XML has come into common use for the interchange of data over the Internet. Hundreds of document formats using XML syntax have been developed, including RSS, Atom, Office Open XML, OpenDocument, SVG, COLLADA, and XHTML. XML also provides the base language for communication protocols such as SOAP and XMPP. It is one of the message exchange formats used in the Asynchronous JavaScript and XML (AJAX) programming technique.
<person>
<firstName>John</firstName>
<lastName>Smith</lastName>
<isAlive>true</isAlive>
<age>27</age>
<address>
<city>New York</city>
<postalCode>10021-3100</postalCode>
<state>NY</state>
<streetAddress>21 2nd Street</streetAddress>
</address>
<phoneNumbers>
<number>212 555-1234</number>
<type>home</type>
</phoneNumbers>
<phoneNumbers>
<number>646 555-4567</number>
<type>office</type>
</phoneNumbers>
<phoneNumbers>
<number>123 456-7890</number>
<type>mobile</type>
</phoneNumbers>
<children/>
<spouse/>
</person>
atom
rss
svg
xht
xhtml
xml
+xml
application/x-xml
application/xml
application/xml-dtd
application/xml-external-parsed-entity
text/x-xml
text/xml
text/xml-external-parsed-entity
Marshal()
Writes minified XML when no TTY detected and
indented XML when stdout is a TTYReadArray()
experimental; Works with XML arrays. Maps
are converted into arraysReadArrayWithType()
experimental; Works with XML
arrays. Maps are converted into arrays. Elements data-type in Murex
mirrors the XML type of the element (if known)ReadIndex()
experimental; Works against all properties
in XMLReadMap()
experimental; Works with XML mapsReadNotIndex()
experimental; Works against all
properties in XMLUnmarshal()
SupportedWriteArray()
experimental; Works with XML arrayscast
):
Alters the data-type of the previous function without altering its
output[[ Element ]]
): Outputs an element from a nested
structureopen
):
Open a file with a preferred handlerformat
): Reformat one data-type into another
data-typecsv
: CSV files (and other
character delimited tables)json
: JavaScript Object
Notation (JSON)toml
: Tom’s Obvious,
Minimal Language (TOML)yaml
: YAML Ain’t Markup
Language (YAML)ReadIndex()
(type):
Data type handler for the index, [
, builtinReadNotIndex()
(type): Data type handler for the bang-prefixed index,
![
, builtinReadArray()
(type):
Read from a data type one array element at a timeWriteArray()
(type): Write a data type, one array element at a timeReadMap()
(type):
Treat data type as a key/value structure and read its contentsMarshal()
(type):
Converts structured memory into a structured file format (eg for
stdio)Unmarshal()
(type):
Converts a structured file format into structured memoryThis document was generated from builtins/types/xml/xml_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Wed Jul 2 22:12:32 UTC 2025 against commit bb72b6fbb72b6fdd502f835172d7d06207ba4ec2c70886c.
Current version is 7.0.2107 (develop) which has been verified against tests cases.