Prepare an XML schema

When you want to create an XML schema that can be used from multiple projects (scripts), create the schema as a schema resource.

Description

In this scenario, create an XML schema with the following structure:

<?xml version="1.0" encoding="UTF-8" ?>
<library>
              <book>
                            <title>Title</title>
                            <author>
                                              <name>Author</name>
                            </author>
                            <category>Category</category>
                            <date>
                                              <release>ReleaseDate</release>
                                              <update>UpdateDate</update>
                            </date>
              </book>
</library> 

Procedures

Create an XML schema resource

  1. Select > HULFT INTEGRATE > Schemas.

  2. On the Schemas page, select Add.

  3. In step General on the Schemas > Add New page, set the schema information as shown below.

    Field name

    Setting (example)

    Name

    Book XML Schema

    Workspace

    Personal

    Description

    (Optional)

    Type

    XML

    Sub type

    Plain XML

    XML definition

    Enter the text described in Description.

    Note

    To import an XML file with Import, use UTF-8 as the character code of the XML file.

  4. Select Validate. If you have validation errors, fix them.

  5. Select Next.

  6. In step Summary, confirm that the settings are correct, and then select Finish.