Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Importing, Exporting, and Manipulating XML in Mathematica

Chris Hill
Organization: Wolfram Research, Inc.
Department: User Interface Group

2001 Mathematica Developer Conference
Conference location

Champaign, IL

Java and XML are a natural match, and there is a considerable body of XML functionality available to Java programmers. Because of J/Link, all these capabilities are also available to Mathematica programmers. This talk will examine some ways to link the extensive Java XML APIs into Mathematica's own XML-handling capabilities. We will see how to convert Mathematica XML expressions into Java DOM objects and vice-versa, how to perform SAX parsing of XML data with event logic coded entirely in Mathematica, how to perform XSLT transformations and XPath queries on XML data directly from the Mathematica environment, and how to query and process XML data available on the internet, such as finanical data.

*Information Science and Technology > Internet > XML
Downloads Download Wolfram CDF Player

hill.nb (303.1 KB) - Mathematica Notebook