- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Tue, 25 Jul 2006 22:36:22 +0530
- To: Balakrishnan <balakrishnan@alden.co.in>
- Cc: xmlschema-dev@w3c.org
On 7/25/06, Balakrishnan <balakrishnan@alden.co.in> wrote: > I using DTD for parsing the XML file, DTDs are not used to parse XML. The XML parser parses XML data. DTDs are used to specify the structure of XML, against which you validate the XML instances. >Suppose the xml have 100 elements and > I want to validate just 10 element then How can I write the schema? and > validate? I don't think you can perform validation like this. You have to write a DTD or a XSD schema for the whole XML. You validate the XML instance against the whole DTD/XSD. Regards, Mukul http://gandhimukul.tripod.com
Received on Tuesday, 25 July 2006 17:06:30 UTC