Here is an XML example
To load it all we need to do is to set the data source type to XML and select appropriate XML tags for "Table Tag" and "Record Tag"
Data reader settings :
Note: "Ignore Tags" is checked
There is no data in the grid because we have to transform XML into a more readable format first, using XSLT.
XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents, or other objects such as HTML for web pages, plain text or into XSL Formatting Objects which can then be converted to PDF, PostScript, and PNG.
Typically, input documents are XML files, but anything from which the processor can build an XQuery and XPath Data Model can be used, for example, relational database tables, or geographical information systems.
Note: To get to this dialogue: open data reader properties, click XML file, check "Transform XML" and click Magnifying glass button
Here is the result of the XSLT transformation:
XSLT Transformation Examples
- How to Transform a Simple XML file
- How to Transform a Complex XML file
- How to Convert XML Attributes
- How to Convert XML into CSV using XSLT