xsl-list
[Top] [All Lists]

Re: Creating files

2003-01-10 08:13:10
At 14:36 10/01/2003 +0000, you wrote:
Hy there.
Is it possible to create files using XSLT? I meen create a file and put some
transformed data
in it, and then create another and put some data in it too. All this inside
the stylesheet file.
Thanks.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

with Saxon + xsl version 1.1 :
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.1">
...
<xsl:template match="...">
<xsl:document href="foo.xml">
        Your xsl instructions here eg value-of, apply-templates, and so on
</xsl:document>
</xsl:template>

see http://saxon.sourceforge.net/saxon6.5.1/xsl-elements.html#xsl:document

==
Philippe Drix
     ___________
__| OBJECTIVA |___________________
http://www.objectiva.fr
21-23, rue Aristide Briand - 92170 Vanves
tel : +33 1 47 36 60 30
fax : +33 1 47 36 61 93



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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