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] Metadata in FO?


On Tue, Feb 05, 2008 at 10:24:59PM +0100, Jens Stavnstrup wrote:
> otherwise you can e.g. use iText to postprocess the the PDF document, see 
> documentation on

I used now pdftk to update the metadata. With a little bit of
XSL, it's easy to fetch the information and produce the correct
format for pdftk:

  <xsl:output method="text" encoding="ascii"/>

  <xsl:template match="article/title">
    <xsl:text>InfoKey: Title
InfoValue: </xsl:text><xsl:value-of select="."/><xsl:text>
</xsl:text>
  </xsl:template>

Cheers!



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