A: Directly? No. To be validated against a DTD anXML document can have only one document type declaration. (That’s theportion of the document prolog starting”<!DOCTYPE…”) And a document type declaration canreference only one DTD. If you think about it, this makes perfectsense: One of the requirements of well-formedness (let alonevalidation) is that there be only one root element. So givenone DTD which defines elements A, B, and C, and another which definesX, Y, and Z, how do you get a sing 
continue >>




Author:
admin
Time:
Sunday, February 10th, 2008 at 2:20 pm
Category:
XML
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply