Test Schema - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Parameters
URL
Guidelines
Also available in Global configuration mode.
The template command specifies the URL of the interactive command line script.
The script is an XML file that can be local or remote to the DataPower appliance.
The script must conform to the store:///schemas/dp-cli-template.xsd schema.
To verify whether the script is conformant with the schema, use the test schema
command.
Related Commands

test schema

Examples
v Verify that local:///shell-script.xml conforms to the store:///schemas/dp-
v Runs the interactive script as defined in the local:///shell-script.xml file.
test schema
Tests conformity of an XML file against a schema.
Syntax
test schema file schema
Parameters
file
schema Specifies the URL of the schema.
Guidelines
Also available in Global configuration mode.
The test schema command tests the conformity of an XML file against an XSD
schema file.
Examples
v Tests conformity of the xyzbanner.xml XML file against the dp-user-
Specifies the fully-qualified location of the interactive command line script.
cli-template.xsd schema.
# test local:///shell-script.xml store:///schemas/dp-cli-template.xsd
#
# template local:///shell-script.xml
#
Specifies the URL of the XML file to test.
interface.xsd schema.
# test schema store:///xyzbanner.xml store:///schemas/dp-user-interface.xsd
Performing validation of document 'store:///xyzbanner.xml' using
schema 'store:///schemas/dp-user-interface.xsd' ...
Document validation completed: OK.
#
Chapter 1. Initial login and common commands
15

Advertisement

Table of Contents
loading

Table of Contents