OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] EPUB: dbtimestamp PI in pubdate or date


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: jirka@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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]