- From: Jeff Lansing <jeff@polexis.com>
- Date: Tue, 16 Jan 2001 17:33:22 -0800
- To: www-xml-linking-comments@w3.org
Hi, How do I point to the string "Valley Center" in the following xml? <doc> <text>New <bold>River Valley</bold> Center Shops<text> <doc> How do I do it without the string-range function, I mean? Is it: xpointer(/doc/text/bold/text()/point()[7]/range-to(/doc/text/text()/point()[12])) ? And then assuming that this is on the right track, can I reuse a previous pointing in any way? That is, if I want to point to the string "Valley" (again, without using string-range) do I have to say: xpointer(/doc/text/bold/text()/point()[7]/range-to(/doc/text/bold/text()/point()[13])) ? (I think not, since there is no notion of variable binding in XPointer.) Thanks, Jeff
Received on Tuesday, 16 January 2001 20:34:57 UTC