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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   ? XLink/Pointer expressiveness

[ Lists Home | Date Index | Thread Index ]
  • From: james anderson <James.Anderson@mecom.mixx.de>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Fri, 05 Jun 1998 21:56:58 +0200

greetings,

i have a question for the "xlink/x-pointer" proficient:

how would i express several references to subelements of a remote resource?

if xml were referentially transparent, something like (taking an simplistic case)

<patient id="01">
 <name>
  <first>edward</first>
  <last>dolittle</last>
  </name>
 <history id="02" href="http://hostpital/patients?name=edward.dolittle" />
 <last-treatment
  href="http://hostpital/patients?name=edward.dolittle#child(-1,treatment)" />
 </patient>

wouldn't trouble me. but xml is not, so i would like to do something like:

<patient id="01">
 <name>
  <first>edward</first>
  <last>dolittle</last>
  </name>
 <history id="02" href="http://hostpital/patients?name=edward.dolittle" />
 <last-treatment href="id(02).child(-1,treatment)" />
 </patient>

which makes intuitive sense, but not necessarily structural sense - depending
on the document model and link behaviour.

?
are the fine points to link behaviour / type which are intended to govern such situations?

?

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