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


Help: OASIS Mailing Lists Help | MarkMail Help



   Unplugged & Install-Friendly XML

[ Lists Home | Date Index | Thread Index ]
  • From: "Steve Muench" <SMUENCH@us.oracle.com>
  • To: xml-dev@ic.ac.uk
  • Date: 25 Sep 98 05:15:23 -0700


If one were building a product which used XML to write out
metadata about things, what is the recommended approach
to referring to a product-specific DTD in your XML
document instances given the fact that:

    1. A user will want to work on his files when
       not plugged into the Internet.

         I'm assuming this means that referring
         to DTD by http://company.com/xyz.dtd is
         not gonna cut the mustard.

    2. A user can install that product into any
       directory on his hard drive. In particular
       the product-specific DTD file could land
       up in the .\LIB subdirectory of an arbitrary
       "install home" that the user picks at
       install time.

Is there any way that I've missed in my read of the
XML spec which would allow a DTD to use a syntax like:

<?xml version="1.0"?>
<!DOCTYPE TopLevelThingy SYSTEM "file:/&INSTALL_HOME;/lib/jbo.dtd">

Where the value of the environment variable INSTALL_HOME
would be setup by the installer?

Thanks for any ideas...

 Steve  | XML Technology | smuench@oracle.com
 Muench |   Evangelist   | geocities.com/~smuench

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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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