[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [search-ws] <set> and <append>
Ray, > My first question on the description document is the difference > between <set> and <append>. > > <set name=”items”> > <xpath select=”//mods”/> > </set> > "Should the response document have contained ten MODS records, then > after after the response has been parsed the “items” variable will > contain ten values, each value being a single MODS record." > > This is essentially telling the client that it can extract mods > records from a response via the supplied xpath. > > > What does this tell the client: > > <append name=”items”> > <xpath select=”//mods”/> > </set> > In essence, set is just the same as append, excepet that set discards anything already contained in the variable before appending the newly extracted values. > What does this tell the client: > I wouldn't think of it in terms of what it is telling the client. All append allows you to do is accumulate things over multiple http GETs. Ashley.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]