Table of Contents

Search

  1. Preface
  2. XML Concepts
  3. Using XML with PowerCenter
  4. Working with XML Sources
  5. Using the XML Editor
  6. Working with XML Targets
  7. XML Source Qualifier Transformation
  8. Midstream XML Transformations
  9. Appendix A: XML Datatype Reference
  10. Appendix B: XPath Query Functions Reference

XML Guide

XML Guide

XML Schema Files

XML Schema Files

An XML schema is a document that defines the valid content of XML files. An XML schema file, like a DTD file, contains only metadata. An XML schema defines the structure and type of elements and attributes for an associated XML file. When you use a schema to define an XML file, you can restrict data, define data formats, and convert data between datatypes. An XML schema supports complex types and inheritance between types. A schema provides a way to specify element and attribute groups, ANY content, and circular references.
The following figure shows XML schema components:
The XML schema includes element name, attribute, attribute type and null construction, element datatype, element data, element list and occurrence, and element list and datatype components.
  1. Element name.
  2. Attribute
  3. Attribute type and null construction
  4. Element datatype
  5. Element data
  6. Element list and occurrence
  7. Element list and datatype

0 COMMENTS

We’d like to hear from you!