Analyzing sample XML documents

Use the Data Analysis Project Overview to analyze sample XML documents, and to add data structures that conform to your schema into a Data Analysis model. Select elements and attributes from your Data Analysis model to form a target model, which you use to create a library that contains Data Analysis tools.

Before you begin

  • Create a Data Analysis project. See Creating a Data Analysis project.
  • Ensure that your sample documents are in XML format. The sample XML documents must be representative of your relevant data so that you can later produce a useful target model. If data is missing from your sample XML documents, subsequent input may not conform to the generated target model.
  • Ensure that the sample XML documents conform to a schema and that the schema is available. If sample data does not conform to your schema, you cannot analyze your sample XML documents, nor load the relevant data from within them.

Procedure

  1. In the Data Analysis Project Overview, click Analyze documents.
    The Analyze documents wizard opens.
  2. Complete the steps in the Analyze documents wizard and click OK.
    The Summary of Analyzed Documents window opens, and shows whether you successfully analyzed your documents.
    Note:
    • At most, the analysis adds 10 identical data items or data structures from each document. When you analyze additional documents, pre-existing data or data structures are ignored and therefore are not displayed in any of the views.
    • The time that is taken to analyze the sample XML documents increases with file size.
  3. Click OK to close the Summary of Analyzed Documents window.
  4. Optional: Repeat these steps to analyze additional sample documents.

Results

Your sample XML documents are analyzed, ready for you to create a target model.

What to do next

You can now complete the following task: