[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Ogievetsky, Nikita" <nikita.ogievetsky@c...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Wed, 20 Jan 1999 17:53:19 -0500

Steve DeRose wrote:
>I imagine you mean "in" the system identifier of an entity declaration,
right?
>For example,
>...
><!ENTITY mysection SYSTEM
>"http://z.com/stuff/mybook.html#id(chap2
<http://z.com/stuff/mybook.html>).child(3,sec)">
>...
>&mysection;
>...
>>Is it (or will it be?) possible to use XPointer as Entity reference?
>>This will allow me to generic element content, changing depending on
>>children/ancestors surrounding... (so close to real life...)
>>Of course it is dangerous as a source of circular references...
>>- so it will be an extra burden for a parser.

Yes this will be really good to have. But I want to go even further:
Sort of XPoiter function. For example: 

  <About>My name is &ancestor(1,this,FirstName,*);</About>

i.e. XPointer relative to context of current #element.
I do not want to hardcode it becouse a user should be free to modify
document
however he wants.
I am working now on an application that needs this kind of functionality.
I do not know of any parser that has it, so will have to create 
an add-on. If you have any advice, would greatly appreciate it.



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...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member