[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: EMBED and validation
Thanks to everyone for the replies. I now (think I) understand how this would be used. This method does require that the person creating the document specify all the URLs he will be "include"ing at the top of the file. This is somewhat inconvenient for someone who only inserts things once into any given document. If the documents are being generated on the fly from some application, the application may have to perform two passes to derive a list of filenames, or else "bulk up" the document with lots of entities that may never be substituted. It would be nice if there was also an "inline" way of doing includes that would allow the XML parser to validate the resulting content. Rob ======================================================= Rob McDougall Phone: (613)751-4800 ext.5232 JetForm Corporation Fax: (613)751-4864 http://www.jetform.com mailto:rmcdouga@j... ======================================================= >-----Original Message----- >From: dgd@c... [SMTP:dgd@c...] >Sent: December 1, 1997 10:34 PM >To: 'xml-dev@i...' >Subject: Re: EMBED and validation > > >for example, you might have: > ><!doctype RML SYSTEM "some:URL/goes/here" >[ ><!ENTITY boilerplate SYSTEM "http://Joes-server.isp.com/disclaimer"> >]> > >.... later on in your document ... >&boilerplate; > >The entity reference to "boilerplate" will include the whole disclaimer >without >having to change the DTD, or fill it with weird private information. Is this >good enough? > >------------------------------------------+---------------------------- >David Durand dgd@c...| david@d... >Boston University Computer Science | Dynamic Diagrams >http://www.cs.bu.edu/students/grads/dgd/ | http://dynamicDiagrams.com/ > | MAPA: mapping for the WW > > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|