[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: EMBED and validation

  • From: Rob McDougall <RMcDouga@J...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Tue, 2 Dec 1997 10:29:11 -0500

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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.