Structured Data and XML Documents

Work with structured data and Extensible Markup Language documents

Use the readstruct and writestruct functions to read and write structured data to files. Use xmlread, xmlwrite, and xslt to parse a file into an XML Document Object Model (DOM).

Functions

expand all

readstructCreate structure from file
writestructWrite structure to file
xmlreadRead XML document and return Document Object Model node
xmlwriteWrite XML Document Object Model node
xsltTransform XML document using XSLT engine

Topics

Importing XML Documents

To read an XML file from your local disk or from a URL, use the xmlread function.

Exporting to XML Documents

To write data to an XML file, use the xmlwrite function.