Example 9: Validating input XML file schema
A user wants to validate an input XML file. That user created an XML file named newusers.xml.
To complete this task, the following command line function is
called:
arsxml validate -i newusers.xml
The file
newusers.xml might look like
this:<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user name="Bill" userType="User Admin"/>
<user name="Erin" userType="User"/>
<user name="Brie" userType="User"/>
</onDemand>