Extract XML tag values #xml
 Edit
 by Mas Maryono - 10 years ago (2015-02-22)
 by Mas Maryono - 10 years ago (2015-02-22)
Parse a XML document and extract the values
|  | I need to parse a XML document and extract the tag values. | 
Ask clarification
2 Recommendations
XML Dictionary: Retrieve text translations from XML files
This package can retrieve text translations from XML files.
It can parse a given XML file and extract translations of text for one or more languages.
The class can return the translations of individual text strings for a specific supported language or for the default language.
It can also replace some marks in the text with some formatting HTML tags like bold, italic, underscore and line break.
|  |  by Ricky Scotti  package author  75 - 9 years ago (2015-08-03) Comment
 It's a simple XML extraction | 
- Parses arbitrary XML input and builds an array with the structure of all tag and data elements.
- It can validate and extract data from a whole XML document with just a single call. It supports validationg common tag value data types and can perform custom validations using a subclass.
- Optionally, keeps track of the positions of each element to allow the determination of the exact location of elements that may be contextually in error.
- Supports parsed file cache to minimize the overhead of parsing the same file repeatdly.
- Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.
- Validate and extract data from a whole XML document with single function call
|  |  by Manuel Lemos  package author  26695 - 10 years ago (2015-02-24) Comment
 This XML parser class can parse a XML document just with a single function call. You just pass an array with the definition of the tags and types that you expect and it will return the whole parsed document in a single variable. Take a look at this tutorial article that explains better how it works.  |