Re: Archive Module -revival

On 22/04/2014 16:34, John Lumley wrote:
> If so then I suggest that we do not try to be symmetric in our use of 
> entry descriptions, otherwise we'll have to live with
>
>      arch:entries()[ends-with(arch:name/@value,'.xml')] if 
> arch:entries() returns complete structure,
>
> as opposed to
>
>     arch:entries()[ends-with(.,'.xml')] if it returns xs:string* 
On second thoughts, the map-based interface needs/benefits from a 
function arch:entry-names() as xs:string* which just gives the names of 
the entries in archive order, so this simple example wouldn't need the 
full structure. If you need more info then you can trawl around in the 
entrails of <arch:entry>

-- 
*John Lumley* MA PhD CEng FIEE
john@saxonica.com <mailto:john@saxonica.com>
on behalf of Saxonica Ltd

Received on Tuesday, 22 April 2014 15:54:19 UTC