[tei-council] XPointer rewrite

Hugh Cayless philomousos at gmail.com
Fri Mar 7 09:07:06 EST 2014


They have a notional relationship to text nodes. You can think of them as text nodes with a substring function applied to them.

/**
 *  Hugh A. Cayless, Ph.D
 *  hugh.cayless at duke.edu
 *  Duke Collaboratory for Classics Computing (DC3)
 *  http://blogs.library.duke.edu/dcthree/
**/


On Mar 7, 2014, at 9:01 , Martin Holmes <mholmes at uvic.ca> wrote:

> And another quick question: here:
> 
> A Sequence follows the definition in the XPath 2.0 Data Model, with one 
> alteration. A Sequence is an ordered collection of zero or more items, 
> where an item is either a node or a partial text node. An an XPointer 
> sequence must consist of nodes, as defined above, except for the first 
> and last items in the sequence, which may be partial text nodes.
> 
> I don't know what a "partial text node" is, I discover. If what's 
> returned is an XPath sequence, wouldn't these be simply text nodes, 
> knowing nothing about the fact that they're pieces of a source node? Or 
> do they have some kind of notional relationship to their source text node?
> 
> Cheers,
> Martin
> 
> On 14-03-07 05:54 AM, Martin Holmes wrote:
>> Quick question for Hugh:
>> 
>> I've just been reading the XPointer spec -- nice work -- and it looks to
>> me as though it adheres pretty closely to what you laid out in your jTEI
>> article. Is that so? Does it differ at all?
>> 
>> Cheers,
>> Martin
>> 
> -- 
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
> 
> PLEASE NOTE: postings to this list are publicly archived



More information about the tei-council mailing list