On 18.5.2014 14:42, Thomas Schraitle wrote: > 3. Detect an additional <pubdate> or <date> with role="epub" > This could solve the issue as both formats can live happily together. We > used this approach also for imagedata which "belongs" to certain output > formats. > However, we need to define what to do when no 2nd <pubdate> or <date> > is available.
You can achieve this today with profiling, I'm not sure whether there is any need to standardize this behaviour. There are dozen of similar cases and there is no direct support for them as well. I think that for EPUB we can just document the following best practice: <date condition="noepub"><?dbtimestamp?></date> <date condition="epub"><?dbtimestamp format="Y-m-d"?></date> Anyway, if you are producing EPUB and other targets it is very likely that you are already using profiling. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook 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 ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature