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

Q: Using XML entities for href's

  • From: Steffen Rodig <rodig@s...>
  • To: xml-dev@i...
  • Date: Mon, 2 Mar 1998 15:53:09 +0100

entity concept
In my xml based application I want to write xml documents with some
kind of indirect links, since I don't know the exact location of a
link target at the time a document is created and stored into a
repository. I got the idea to use the entity concept of xml for doing
this, since in my understanding entities can be used as virtual
identifiers for physical locations. So at the time I request a
document from the repository I'd like to include some entity
definitions into the internal DTD of a document. Then it would
look like this:

<?XML VERSION="1.0"?>
<!DOCTYPE CP-Document PUBLIC "-//SDM SHORE//DTD CP-Document//EN" [
<!ENTITY aRef SYSTEM "http://aServer/aDocument#anElement">
]>
...
<aTag xml-link=simple href=aRef>content</aTag>
...

Does this idea still conform to the xml concept? Even more important:
Would this work?

If not, does anyone have an idea of how to solve the following problem:

1. At creation time of a xml document I only know symbolic identifiers for
   the link targets. The documents need to be stored into a repository
   without resolving the links. (however, the link target identifiers are
   unambiguous over the whole repository)
2. After the import of all documents into the repository, I am able to
   resolve the link targets.
3. At the time of exporting the documents from the repository (and displaying
   them in a browser), I need to exchange the symbolic identifiers with
   the real ones for navigation.

Any help is greatly appreciated.

Best regards,
--
Steffen Rodig                |s  |d &|m  |  software design & management
Steffen.Rodig@s...         |   |   |   |  GmbH & Co. KG
http://www.sdm.de/           |   |   |   |  Thomas-Dehler-Str. 27
Tel/Fax +49-89-63812-395/490 |   |   |   |  81737 Muenchen, Germany

                  Leben ist das, was einem zustoesst,
         waehrend man auf die Erfuellung seiner Traeume wartet.


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.