Wolfram Library Archive

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

Extending Mathematica's XML Capabilities with J/Link

Todd Gayley
Organization: Wolfram Research, Inc.
Department: Kernel Technology

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
*Wolfram Technology > Linking Technology > J/Link
Downloads Download Wolfram CDF Player

gayley4.nb (137.6 KB) - Mathematica Notebook