> I guess I was unclear in my first posting...currently, I produce an XML > document based on querying the database.
But this first step is the interesting one. Why do you produce an XML file instead of SAX events? There already exist some generators producing SAX events from database query results. > I create that file in the > cocoon/mount/html-pdf directory on my application server's filesystem > and then pass it to cocoon with the following sub-sitemap: <snip/> > <map:pipelines> > <map:pipeline> > <map:match pattern="*.pdf"> > <map:generate src="{1}.xml"/> Instead of using the file generator use one accessing a database (e.g. XSP with ESQL). Regards, Joerg > <map:transform src="bol.xsl"/> > <map:serialize type="fo2pdf"/> > </map:match> > </map:pipeline> > </map:pipelines> > </map:sitemap> > > What I want to do is replace this mechanism with SAX events so I don't > have to create any files on the filesystem. > > Thanks for your response! > > Bob > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 10:08 PM > To: [EMAIL PROTECTED] > Subject: Re: Need help getting rid of unnecessary XML files > > > You have to show us, in which way you are doing it at the moment. We > create PDF dynamically too and have no XML files on the server. > > Joerg > > [EMAIL PROTECTED] wrote: > > Hi...my application that generates PDFs from XML files works just > fine, > > but I am getting tons of XML files left on my server. > > > > I would like to be able to send SAX events to the pipeline instead of > > using the default "file" generator. > > > > Can anyone point me at a good example of this please? > > > > Thanks in advance! > > > > Bob Hitchins -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>