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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Xpointer Entity

[ Lists Home | Date Index | Thread Index ]
  • From: "Ogievetsky, Nikita" <nikita.ogievetsky@csfb.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • 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@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