> Hm, I've given it some offort, but cannot seem to get it going. I have a > .xsd and a .xml file, and I just want to test if the XML is compliant with > the XSD. > > I tried experimenting with the "count nodes" sample app, but can't get it. > Could you provide the command line commands I need?
There's nothing about the command line that's really relevant other than the -v option to set validation to auto or always. There is no option to control schemaLocation from the command line, so your XML file needs to have an xsi:schemaLocation attribute in the root to map the namespace to the schema file or URL. e.g. xsi:schemaLocation="namespace schema.xsd" -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
