Re: [xsl] How would you like a new axis? time::

Subject: Re: [xsl] How would you like a new axis? time::
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Sun, 14 Mar 2010 18:57:04 +0530
I like the idea to be able to query XDM nodes, where the queries are
date & time aware, at granularity of the node.

I thought, perhaps can't we accomplish this something like following:
We can have a namespace, which represents the xs:dateTime for a node.

Say, for an element node ("x"), the lexical syntax (carrying creation
& modification time of the node) could be something like following;
<x time:created="2009-10-10T09:00:00" time:modified="2010-10-10T11:00:00">
  <!- some children of "x" -->
</x>

We can then query element nodes, in a given date-time range. For
example, as following:

//x[@time:created gt xs:dateTime('2000-01-01T00:00:00')]

This looks like, to be possible with the existing XDM definition.

On Sun, Mar 14, 2010 at 2:55 PM, Dave Pawson <davep@xxxxxxxxxxxxx> wrote:
> Suggestion from Oracle (Dana Florescu) presentation at #xmlprague.
>
> Idea being to ask B for a specific version or nodeset existant
> at a specific time in the past!
>
>
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk



--
Regards,
Mukul Gandhi

Current Thread