? XLink/Pointer expressiveness

james anderson James.Anderson at mecom.mixx.de
Fri Jun 5 21:54:57 BST 1998


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




More information about the Xml-dev mailing list