W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > October to December 2000

XPointer question - selecting locations from a location-set

From: Jiri Jirat <Jiri.Jirat@idoox.com>
Date: Tue, 21 Nov 2000 13:55:14 +0100
Message-ID: <3A1A70B1.8D983FA@idoox.com>
To: www-xml-linking-comments@w3.org
 I prepared an XPointer tutorial at
a few weeks ago.

Now I have been asked the following question:

If I want to select the point (marked X) just before the string-range
which expression is correct?

Is this correct?:

Or should it look like this?:

Or should there be some parentheses?

IMPORTANT: here, in this example, the location-set returned by
consists just of ONE location.
Do I have to specify also that I want the location no. one from the
location set,
or it is not compulsory?

I could not find this in the specification.

Here is XML file:
   <BBB bbb="111">
     Text in the first element BBB.
   <BBB bbb="222">
      Text in Xanother element BBB. 
     <DDD ddd="999">
       Text in more nested element.
   <CCC ccc="123" xxx="321">
     Again some text in some element.

May be, my question is not very clear, please, look at
and tell me your opinion.

Thank you very much for your help
Jirka Jirat

 <name firstName="Jirka" surname="Jirat"/>
 <mail>     jiratj@idoox.com  </mail>
 <support>  http://www.zvon.org </support>
 <zvonMailingList> http://www.zvon.org/index.php?nav_id=4
Received on Tuesday, 21 November 2000 07:57:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:22 UTC