Xpointer Entity
Ogievetsky, Nikita
nikita.ogievetsky at csfb.com
Wed Jan 20 22:55:17 GMT 1999
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 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