XML Import & Export

As the world's best-developed tree-oriented symbolic language, Mathematica is uniquely suited to working with XML. Not only can Mathematica generate XML from scratch, it can also import any XML with any DTD, transform and analyze it using any of Mathematica's powerful symbolic capabilities, then export it as arbitrary XML.


Import, Export import, export XML formats

"XML" general symbolic representation of arbitrary XML

"ExpressionML" ▪ "XHTML" ▪ "MathML" ▪ "SVG" ▪ "X3D" ▪ "RSS" ▪ ...

XMLElement symbolic form of all XML elements

XMLObject symbolic wrapper for other XML components (e.g. complete documents)

New to Mathematica? Find your learning path »
Have a question? Ask support »