[xep-support] Processing instructions

Mark Cilia Vincenti markciliavincenti at gmail.com
Wed Nov 19 02:59:52 PST 2008


Thanks guys!

2008/11/19 Jirka Kosek <jirka at kosek.cz>

>  Mark Cilia Vincenti wrote:
> > Hi,
> >
> > I still can't get to grips with the processing instructions.
> >
> > If I open a command prompt and browse to the XEP folder and type:
> >
> > xep -xml examples\hammer\hammer.xml -xsl examples\hammer\hammer.xsl -pdf
> > examples\hammer\hammer.pdf
> >
> > This will create a hammer.pdf
> > But if I want to pass on processing instructions, such as this:
> >
> > <?xep-pdf-initial-zoom 100%?>
> >
> > I have no idea how to get about doing this. I've tried to place this in
> > multiple places within the hammer.xsl file, to no avail. Any ideas
> please?
>
> In XSLT you have to use
>
> <xsl:processing-instruction
> name="xep-pdf-initial-zoom">100%</xsl:processing-instruction>
>
> to get desired PI in output.
>
>                        Jirka
>
> --
> ------------------------------------------------------------------
>  Jirka Kosek      e-mail: jirka at 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 member
> ------------------------------------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20081119/ddd7effd/attachment.html>


More information about the Xep-support mailing list