W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-gcpm] String-set issues

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon, 24 Nov 2014 16:23:31 +0100
Message-ID: <54734D73.6030609@kosek.cz>
To: Brad Kemper <brad.kemper@gmail.com>
CC: Liam R E Quin <liam@w3.org>, www-style list <www-style@w3.org>, Dave Cramer <Dave.Cramer@hbgusa.com>
On 24.11.2014 16:14, Brad Kemper wrote:
> OK. Did you think my 'copy-to' proposal on Saturday helped with that? I had ways to target a selected element's text, or the entire element, or all its child nodes, or an attribute or counter, for inclusion in 'content'. Is that still not expressive enough?

No, in some use cases you must do more complex processing before
displaying some value found in document -- for example format date
stored in metadata element/attributed in the format YYYY-MM-DD has to be
formatted in locale dependant way. Sensible way to do this is to apply
yet to be introduced format-date() function to a value extracted by

Your proposal decouples reading of value, it's possible processing (e.g.
date formatting) and outputting -- which is unnecessary complex.


  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
    Bringing you XML Prague conference    http://xmlprague.cz

Received on Monday, 24 November 2014 15:24:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC