W3C home > Mailing lists > Public > public-cwm-talk@w3.org > July to September 2006

Re: log:outputString ordering challenge

From: Dan Connolly <connolly@w3.org>
Date: Thu, 06 Jul 2006 11:16:20 -0500
To: "Ralph R. Swick" <swick@csail.mit.edu>
Cc: public-cwm-talk@w3.org
Message-Id: <1152202581.1191.200.camel@dirk.w3.org>

On Thu, 2006-07-06 at 12:02 -0400, Ralph R. Swick wrote:
> Scenario: use log:outputString to display some properties of the
> members of an rdf:Seq container, in order.
> Challenge: Yosi came up with the four statements in the rule below
> that successfully produce a sort key from the rdf:_n properties.
> Is there a shorter way?

I don't expect so; that looks reasonably straightforward to me.

You could skip the conversion to integer and back by just
padding with leading 0's, but it's pretty much the same difference.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 6 July 2006 16:16:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:01:05 UTC