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.
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
-
Select
> HULFT INTEGRATE > Schemas.
-
On the Schemas page, select Add.
-
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.
NoteTo import an XML file with Import, use UTF-8 as the character code of the XML file.
-
Select Validate. If you have validation errors, fix them.
-
Select Next.
-
In step Summary, confirm that the settings are correct, and then select Finish.