This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > March 2007 > How to validate xml against multiple schemas (XSD)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to validate xml against multiple schemas (XSD)
sai

2007-03-28, 7:18 pm

Hi All,

I need to validate a XML document against multiple schemas (XSD) in
"C".
I am using MSXML 3.0. How to do it?

Thanks in advance for the help.


Martin Honnen

2007-03-28, 7:18 pm

sai wrote:

> I need to validate a XML document against multiple schemas (XSD) in
> "C".
> I am using MSXML 3.0. How to do it?


Use MSXML 6 for XSD validation as MSXML 3 does only support DTD
validation (and XDR schema validation).
With MSXML 6 you need to use an XmlSchemaCache and add those schemas you
want to validate against to the cache.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews