Altova Mailing List Archives

Re: Check XML

From: Martin Honnen <mahotrash@-----.-->
Date: 4/8/2005 3:21:00 PM

Peter wrote:

> I have XML document and XSL document.
> How can I chceck I my XML document is valid towards my XSL document.

An XSL document is usually an XSLT stylesheet used to transform some 
input XML to some output (in text or HTML or XML format).
I am not sure how you want to check validity of an XML input document 
against an XSL document, that doesn't make sense.

Are you perhaps talking about XSD documents, these are W3C schema 
documents and there it makes sense to check for validity of an XML 
instance document against a schema document.
In .NET 1.x you do that using XmlValidatingReader:


	Martin Honnen --- MVP XML


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.