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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Redecleration of Element

[ Lists Home | Date Index | Thread Index ]
  • From: "Brandt Dainow" <bd@internet-etc.com>
  • To: "'Dennis Thrysoe - GeoGrafik A/S'" <dt@geografik.dk>,"'xml-dev'" <xml-dev@ic.ac.uk>
  • Date: Wed, 19 Jan 2000 11:05:15 -0000

How about a simplistic approach - the root element defines the document
type.  Change the root element, you've just re-typed the doc.
Alternatively, ask what they want to achieve by doing this, then find a way
to achieve that same aim, but within the rules of XML.  In my experience,
most daft or difficult processes in IT are best tackled by looking for a
completely new method of achieving the same aim.

On the other hand, I think the XML world is going to see lots of doc
conversion, switching from one DTD to another.  Since everybody seems to
want to write their own DTD's, especially if they want to maintain their own
legacy data structures, everyone is going to have to do DTD conversion to
exchange data.  From this perspective you're really just converting a doc
from one DTD to another.


Brandt Dainow
bd@internet-etc.com
Internet Etc Ltd
http://www.internet-etc.com

>-----Original Message-----
>From: owner-xml-dev@ic.ac.uk [mailto:owner-xml-dev@ic.ac.uk]On
>Behalf Of
>Dennis Thrysoe - GeoGrafik A/S
>Sent: Wednesday, January 19, 2000 9:21 AM
>To: xml-dev
>Subject: Redecleration of Element
>
>
>Hi,
>
>I am standing here with a legacy issue. A system was designed
>to be flexible
>be changing the "dataroot" element.
>
>This implies changing the documentroot element's defenition:
>
><!ELEMENT DOCROOT (A)>
>
>or sometimes
>
><!ELEMENT DOCROOT (B)>
>
>I need some help arguing against this practive, as I feel it
>is against the
>spirit of XML and declarative documents. Does anybody know of some
>litterature or a discussion of this anywhere?
>
>TIA,
>
>-dennis
>
>
>xml-dev: A list for W3C XML Developers. To post,
mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN
981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer
to OASIS.



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

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

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