Re: [css-gcpm] String-set issues

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
selector.

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

    Jirka

-- 
------------------------------------------------------------------
  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