OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Alternative for inline DTD in schema!

[ Lists Home | Date Index | Thread Index ]

Following example shows inline DTD for an XML document.
Using XML schema, can similar document be generated?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Ack [
        <!ELEMENT Ack EMPTY>
        <!ATTLIST Ack Status CDATA #REQUIRED
			    ServerName CDATA #REQUIRED>
]>
<Ack ServerName="prasad" Status="Received"/>

Thanks,
Prasad GSK




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS