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

Re: various issues

  • From: David Megginson <dmeggins@u...>
  • To: Peter@u...
  • Date: Fri, 11 Apr 1997 09:10:51 -0400

Re: various issues
Peter Murray-Rust writes:

 > What follows is the meta-DTD, right?  And the system knows it's
 > a meta-DTD because of the inclusion of one or more <?ArcBase PIs?

No, it's a derived DTD (actually, a DTD for a document that implements
a derived architecture).  A meta-DTD will not usually have an
<?ArcBase ..?> PI, unless it is mapped to yet another meta-DTD.

If you write a DTD, and include

  <?ArcBase html?>

in that DTD, you are suggesting that your DTD uses HTML as a base
architecture.  The HTML DTD is the meta-DTD, and it is not modified in
any way.

 > What this is doing is mapping elements in different DTDs to the
 > same element in your meta-DTD.  This implies that they are synonyms
 > in some way.  Does it assume that they have the same content model,
 > attributes and that the elements in the content model have
 > (recursively) been mapped onto the DTD.  Or are you essentially
 > aliasing SYM in HTML to SYMBOL and SYMBOL in MATH to SYMBOL but
 > having to provide different content models and processing for each?

No, it's the other way around -- the DTD for the derived architecture
maps some of its elements to those in one or more meta-DTDs (though
you don't have to do the mapping in the DTD itself).  If you're
creating document type X, and you're including architectures from
CALS, HTML, and TEI-L, then you put the mappings in the X DTD.

They don't have to have exactly the same content models -- the content
model in the derived DTD can be more restrictive (but not less).

 > This means your DTD is a superset of the other DTDs and your own elements?

Not exactly -- it means that there is an intersection between the
semantics of your DTD and the semantics of each of the meta-DTD.  Your
DTD may have element types that are not in the meta-DTD, and the
meta-DTD may have element types that are not in your DTD.

 > I think I start to understand.  By 'structure' you mean the tree structure
 > of each DTD?  In which case AFs are a way of providing multiple views of the
 > same document?

I don't follow.


All the best,


David

-- 
David Megginson                 ak117@f...
Microstar Software Ltd.         dmeggins@m...
University of Ottawa            dmeggins@u...
        http://www.uottawa.ca/~dmeggins

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (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.