xsl-list
[Top] [All Lists]

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

2010-03-14 08:27:43
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[(_at_)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(_at_)dpawson(_dot_)co(_dot_)uk> wrote:
Suggestion from Oracle (Dana Florescu) presentation at #xmlprague.

Idea being to ask  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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--