This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Insert PDF file
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 24 Sep 2002 14:52:27 +0100
- Subject: RE: [xsl] Insert PDF file
- Reply-to: xsl-list at lists dot mulberrytech dot com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of J.Pietschmann
> Sent: 23 September 2002 22:49
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] Insert PDF file
>
>
> Eric.Reiter@ic.lu wrote:
> > I have a XML file with a tag <doc>str.pdf</doc>, in which
> srt.pdf is a file.
> >
> > When i transform this XML into PDF (with FOP), i would that the
> > <doc>str.pdf</doc> would be replaced by the PDF file str.pdf.
> >
> > How can i do that?
>
you could possibly use the future unparsed-text() function thats specified
in XSLT 2.0
16.2 Reading Text Files
Function: sequence unparsed-text(sequence, string?)
I am uncertain how this will work ( maybe you will have to supply the
http:// url of the results of the FOP processing ) but possibly this
function is implemented in SAXON 7.2, dont know yet ? You may also use other
features of the exp XSLT 2.0 SAXON implementation to chain together your
transforms.
but in general you will need a specialized extension function.
gl, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list