Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use an XML Validator to validate the whole XML file or parts of it. However, this feature is more appropriate while validating portions of XML streams. For validation, you need to provide the Xpath of the elements of the XML file and the path of the XSD against which the schema will validate that XML file. 


Steps to create a an XML Validator activityservice

  1. On the Adeptia Suite homepage, go to Configure Services > Schema and then click XML Validator. The XML Validator screen is displayed (see Figure 276).

    Image Removed

    Manage XML Validator

  2. Click the Create New link. This action will display you the Create XML Validator screen.

    Image Removed

    Create XML Validator

  3. Enter the name and description of the new XML Validator activity in the Name and Description textboxes respectively.
  4. If you want to validate the Sub XML, check the Validate Sub XML checkbox.
  5. In the Enter XPath textbox, enter the XPath of the XML file that you want to validate.
  6. In the XSD File Path textbox, enter the path of that XSD file, which the schema will use to validate against the XML file.

    To learn more about Advanced Properties refer to the Changing Advanced Properties section.

  7. Click the Save button.

...