Here's a java snippet for Xerces DomParser: if (noNsXsdFilePath != null) { propId = "http://apache.org/xml/properties" + "/schema/external-noNamespaceSchemaLocation"; parser.setProperty(propId, noNsXsdFilePath); }
if (extSchemaLocationsString != null) { propId = "http://apache.org/xml/properties" + "/schema/external-schemaLocation"; parser.setProperty(propId, extSchemaLocationsString); } where noNsXsdFilePath is just a URL for the xsd file, and extSchemaLocationsString is a string like "ns1 loc1 ns2 loc2 .." representing a list of pairs each comprising a namespace URI and an xsd URI. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]