Here is More XML example

XML With Attributes

To load it all we need to do is to set data source type to XML and select appropriate XML tags for "Table Tag" and "Record Tag"

Data reader settings :
XML with Attributes Datareader

Note: "Ignore Tags" is checked

There is no data in the grid because we have to transform XML into more readable format first, using XSLT.
XML With Attributes Data

About 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.

Source: Wikipedia

XSLT:

XSLT Transformation

Note: To get to this dialog: 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 Result

Note: 

More information about XSLT can be found here: 
http://www.w3schools.com/xsl/xsl_transformation.asp

Download Free Trial Learn More About Our ETL Software

We have 201 guests and no members online