Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Data Subset
  8. Data Masking
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Data Type Reference
  21. Data Type Reference for Test Data Warehouse
  22. Data Type Reference for Hadoop
  23. Glossary

Example XML Structure Definition

Example XML Structure Definition

Consider the following XSD structure of the master test data file:
<?xml version="1.0" encoding="utf-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Skill" type="xsd:string"/> <xsd:element name="Name" type="xsd:string"/> <xsd:element name="Street" type="xsd:string"/> <xsd:element name="State" type="xsd:string"/> <xsd:element name="City" type="xsd:string"/> <xsd:element name="Zip" type="xsd:string"/> <xsd:attribute name="id" type="xsd:integer"/> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="location" type="xsd:string"/> <xsd:element name="Address"> <xsd:complexType> <xsd:sequence> <xsd:element ref="Street" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Zip" minOccurs="1" maxOccurs="1"/> <xsd:element ref="City" minOccurs="1" maxOccurs="1"/> <xsd:element ref="State" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="Employee"> <xsd:complexType> <xsd:sequence> <xsd:element ref="Name" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Address" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Skill" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute ref="id"/> </xsd:complexType> </xsd:element> <xsd:element name="Department"> <xsd:complexType> <xsd:sequence> <xsd:element ref="Address" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Employee" minOccurs="1" maxOccurs="unbounded"/> <xsd:element ref="Contractor" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute ref="name"/> </xsd:complexType> </xsd:element> <xsd:element name="Departments"> <xsd:complexType> <xsd:sequence> <xsd:element ref="Department" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute ref="location"/> </xsd:complexType> </xsd:element> <xsd:element name="Contractor"> <xsd:complexType> <xsd:sequence> <xsd:element ref="Name" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Address" minOccurs="1" maxOccurs="1"/> <xsd:element ref="Skill" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute ref="id"/> </xsd:complexType> </xsd:element> </xsd:schema>