Which is available, DTD or schema?
A schema permits a finer-grained control of the contents of the XML document,
but if you don't have one, you can't validate against it.
The Xalan-J distribution comes with a Validate program that will validate
against a DTD. Look for it in the samples subdirectory of your Xalan directory.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Kotes Mogili <Kotes(_dot_)Mogili(_at_)sprint-canada(_dot_)com>
Sent: Wed, 18 Feb 2004 14:13:28 -0500
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] XML validation
Hi,
I am trying to validate my XML against DTD or Schema. Can anybody suggest me
which one is the better way?? Also is there any document availble showing the
methods to do validation using XALAN..
Thanks
--kotes
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list