XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Hartmut HessSubject: Converting many xml-Files to PDF
Author: Hartmut Hess
Date: 19 Jan 2007 10:27 AM
I have got about 200 xml-Files. The filenames have been listed in an additional xml-file.
Can I produce within one operation 200 pdf-files with the same filenames, but extension .pdf using xsl-fo without manually typing the output filenames?

Postnext
Tony LavinioSubject: Converting many xml-Files to PDF
Author: Tony Lavinio
Date: 25 Jan 2007 10:28 AM
Yes.
You could have an XML file containing the filenames,
and then have an XSLT file that reads from it and acts on each one.

(something like the following...)
<xsl:template match="/">
<xsl:apply-templates select="root/file"/>
</xsl:template>
<xsl:template match="file">
<xsl:apply-templates select="document(.)/whatever"/>
</xsl:template>

Postnext
Hartmut HessSubject: Converting many xml-Files to PDF
Author: Hartmut Hess
Date: 26 Jan 2007 01:41 AM
Many thanks! But this is not my problem.
It seems that I have to manually launch conversion and storage actions for each file.
Is there a possibility within Stylus Studio to control it by a kind of batch file or to control St.St. operations by external commands?

Posttop
Tony LavinioSubject: Converting many xml-Files to PDF
Author: Tony Lavinio
Date: 26 Jan 2007 09:13 AM
Yes.
In the bin directory underneath where it was installed,
there is a StylusXslt.exe program that will run the
transforms from the command line.

There is also StylusXql.exe for XQuery, StylusValidator.exe
for validation, and StylusDiff.exe for XML differencing, all
from the command line.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.