2

I have 2 XSD files. DCL.xsd imports common.xsd. I have DCL.xml. Now, I want to validate DCL.xml with DCL.xsd. How can I achieve this?

Opal
  • 76,740
  • 25
  • 177
  • 200
Majdi
  • 501
  • 4
  • 8

1 Answers1

0

As long as common.xsd is properly incorporated into DCL.xsd using xsd:include or xsd:import, there is nothing extraordinary you have to do to validate DCL.xml against DCL.xsd. Simply associate DCL.xml with DCL.xsd using the usual methods such as schemaLocation or nonamespaceSchemaLocation.

Community
  • 1
  • 1
kjhughes
  • 98,039
  • 18
  • 159
  • 218