[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xpointer Entity
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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|