W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2001

RE: fop fo input file fop servlet

From: Matt Laywell <matt.laywell@kktarchitects.com>
Date: Tue, 4 Dec 2001 10:52:55 -0600
Message-ID: <1036B1C89CB1D211807F006097B6874839BDF2@NT_SERVER>
To: "Www-Xsl-Fo (E-mail)" <www-xsl-fo@w3.org>
the fo files a created realtime from an sql query in an asp page. at the
moment it creats an html table with some functions to add headers and
footers at the appropriate spots.  the table is customizable by the client
add/remove a particular column.  this is accomplished by a little java
script that modifies the sql query and other functions that modify the table
so that it appears formatted.  i tried to create the pdf's on the server
with a little vb script.

		dim oWSH  
		Set oWSH = CreateObject("WScript.Shell")  
		oWSH.Run "fop c:\temp\test.fo -pdf c:\test\tem.pdf"
		Set oWSH = Nothing

this does nothing don't know why

i don't know java or xml other than what i've figured out on my own from its
closeness to c.

if have suggestions on other ways to do this task i am definitely open to
going a different route. this one just seemed easiest to me.

matt laywell

-----Original Message-----
From: Dave Pawson [mailto:daveP@dpawson.freeserve.co.uk]
Sent: Monday, December 03, 2001 11:33 PM
To: Matt Laywell
Subject: Re: fop fo input file fop servlet

At 17:55 03/12/2001 -0600, you wrote:
>does anyone know if you can use a url as the fo input file path and name.
>this format works fine locally, but on the web the fo file would have to 
>reside on the clients computer
>does not work.
>network name not found error.
>does anyone knoe whether or not it is possible for the fo parameter to 
>begin with a www. or ip address or server name

Its not normal, and certainly goes against web accessibility protocols  to 
serve fo
directly on the web.
W3C have provided a means of linking the stylesheet to an xml file, so
either use that and delivery XML and the stylesheet, which is not really 
today since few will have fop on the client,
or more usefully, deliver the pdf if that's what you want as the delivery 
Received on Tuesday, 4 December 2001 11:51:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:53 UTC