[Home] [By Thread] [By Date] [Recent Entries]


The short answer is that you can have each of the parts of the XML file in a
different namespace and have one schema for each namespace.
I've attached a simple example based on the book/catalog/ecommerce types
that Microsoft often uses for examples.

At 2002-12-09 11:25 -0500, Jaywanth wrote:
>I am a newbie to the XML world  . i am asked to develop a application 
>which involves XML and schemas and i have the following doubts.. Any help 
>would be greatly appreciated .
>...
>1. Can parts of a XML file be validated against different schema's ? I 
>have a huge XML file coming in from 3rd party agency that contains 
>information about multiple applications that the company deals with.
>
>Each application have their own schema and parts of the XML file needs to 
>be validated for correctness against these application schemas.

multiple-schemas.zip


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member