Off-topic for this list, but the answer is yes.
With Saxon-SA, use:
java com.saxonica.Validate -s schema.xsd instance.xml
There's a similar command-line interface in XSV. It's surprisingly hard to
find an equivalent for Xerces, but I remember someone advising that one of
the "sample applications" provided with Xerces provided a workaround.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Sandeep Lingamneni [mailto:slingamneni(_at_)osi-tech(_dot_)com]
Sent: 28 July 2005 07:09
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Validating XML file externally
Hi Team,
I wrote XSD for an XML file. Is it possible to validate this
XML file by
using the XSD
without modifying the XML file. I mean to say, is there any way to
validate the XML file externally
using XSD (without specifying in XML file).
Thanks,
Sundeep.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--