xsl-list
[Top] [All Lists]

Re: [xsl] xsltproc and file names

2007-11-04 08:38:54
"Tommy" == Tommy Nordgren <tommy(_dot_)nordgren(_at_)comhem(_dot_)se> 
writes:

    Tommy> On 4 nov 2007, at 13.38, Abel Braaksma wrote:

    >>> How do I generate an output file name in an xsl stylesheet?
    >> 
    >> You can't in XSLT 1.0. You can in XSLT 2.0, but then you will
    >> have to switch processors to Saxon 8.9 (open source for
    >> B-version), Gestalt (open source) or AltovaXML (free,
    >> proprietary).

    Tommy>      This can't be right. The docbook chunked xsl
    Tommy> stylesheets generates filenames for html.

Well, actually it generates files.

But chunking requires an extra (non-XSLT) processor in XSLT 1.0.

Of course, you can generate a filename quite easily. But writing to
the file is another matter. You need an extension function, or XSLT 2.0.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>