You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Jian, David" <DJ...@priceinteractive.com> on 2001/01/16 22:00:24 UTC

Use schema for validation

Hi,

I am looking for a sample code that is using schema to validate xml input
and output.  Someone said use
setFeature("http://apache.org.xml/features/validation/schema", true). Does
this work for DOM? What should I do in my xml file? Do I need to define the
schemalocation to it and how?

Thanks

DJ