Extracting Data from an XML file

Revision as of 03:17, 3 November 2026 by Mhenrion (talk | contribs) (See Also: list Examples and libraries by topic first)


Type: Model example, Extra

Extracting Data from an XML file: Suppose you receive data in an XML format that you want to read into your model. This example demonstrates two methods for extracting data: Using a full XML DOM parser, or using regular expressions. The first method fully parses the XML structure, the second simply finds the data of interest by matching patterns, which can be easier for very simple data structures (as is often the case).

Download: Parsing XML example.ana

Author: D. Rice, Lumina Decision Systems

Keywords: Data import and cleaning, Data extraction, xml, DOM parsing

See Also

Comments
Loading comments...