OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Import an XML sample file as symbolic XML:

Import["ExampleData/paintings.xml"]

Show the (RefLink[Import, paclet:ref/Import]) elements available in this file:

Import["ExampleData/paintings.xml","Elements"]

Import all CDATA sections:

Import["ExampleData/paintings.xml","CDATA"]

Convert to plain text:

Import["ExampleData/paintings.xml","Plaintext"]

Get the list of all XML tags that occur in this sample file:

Import["ExampleData/paintings.xml","Tags"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {Related Formats:  (RefLink[ExpressionML, paclet:ref/format/ExpressionML])  ▪  (RefLink[JVX, paclet:ref/format/JVX])  ▪  (RefLink[MathML, paclet:ref/format/MathML])  ▪  (RefLink[ODS, paclet:ref/format/ODS])  ▪  (RefLink[SXC, paclet:ref/format/SXC])  ▪  (RefLink[XHTML, paclet:ref/format/XHTML])  ▪  (RefLink[XHTMLMathML, paclet:ref/format/XHTMLMathML])  ▪  (RefLink[HTML, paclet:ref/format/HTML])  ▪  (RefLink[JSON, paclet:ref/format/JSON])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[XML Capabilities, paclet:XML/tutorial/Overview])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Importing & Exporting, paclet:guide/ImportingAndExporting])}, {▪(RefLinkPlain[Importing & Exporting in Notebooks, paclet:guide/ImportingAndExportingInNotebooks])}, {▪(RefLinkPlain[Listing of All Formats, paclet:guide/ListingOfAllFormats])}, {▪(RefLinkPlain[String Manipulation, paclet:guide/StringManipulation])}, {▪(RefLinkPlain[Systems & Utility Formats, paclet:guide/SystemsAndUtilityFormats])}, {▪(RefLinkPlain[Web Formats, paclet:guide/WebFormats])}, {▪(RefLinkPlain[Web Operations, paclet:guide/WebOperations])}, {▪(RefLinkPlain[XML Formats, paclet:guide/XMLFormats])}, {▪(RefLinkPlain[XML Import & Export, paclet:guide/XMLImportAndExport])}})}})