On Tue, 2004-08-17 at 07:45, [EMAIL PROTECTED] wrote: > Hi, > > Thanks for giving me a ray of hope now. Thanks very much indeed :) > > > So does this mean i need to create a DTD file as well for the > XML docs that im creating ? because currently i only have a > schema for the XML docs. Is there any tool/link that can help > me converting from a Schema to a DTD ? i actually did a search > on it but all i could find was DTD to Schema converters and not > the other way round.
Well, actually, the only things you need to do in the DTD are entity declarations ("é" and the like). You can use numeric character references ("ò" and so on) without a DTD. There is not a great deal of benefit in translating the structural constraints of the schema into DTD notation. (Note that some processors interpret the existence of a DOCTYPE declaration as a request to validate the document and abort if it's not valid; you will need either to avoid those processors or find a way to tell them just to read the DTD for the entity declarations.) If you do use a DTD, then yes, your example of what your document will look like is plausible. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]