OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Validating XML

[ Lists Home | Date Index | Thread Index ]

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.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS