[xep-support] Xep help
Alex Peshkov
peshkov at softhome.net
Wed Aug 7 15:27:21 PDT 2002
Hello Rachael,
It's clear that you need to transform your XML to XSL FO using custom
XSLT stylesheet and then pass the result to XEP formatter.
1. First of all you need to obtain some XSLT engine. For example, you
could download instant Saxon from http://prdownloads.sourceforge.net/saxon/instant-saxon6_5_2.zip
(as I could guess you are working in Windows environment so it's
the easiest way).
2. You need to transform your XML file into XSL FO with apropriate
stylesheet. Let's consider hammer.xml as example. In this case you
should run the command like the following one:
saxon -o hammer.fo hammer.xml hammer.xsl
It will produce XSL FO stylesheet hammer.fo
3. Finally, you need to format your .fo file with XEP formatter.
You may use run.bat if you wish:
run.bat hammer.fo
Then you execute this command XEP will be called to format
hammer.fo and hammer.pdf will be created.
If you wish you could create separate batch-file for commands
mentioned in steps 2 and 3.
The algorithm described above is the simplest thing I can imagine.
Don't forget, that with XEP API available in commercial version you
could chain together XSLT transformer and XEP without saving
intermediate result to disk. This API allows you also to embed XEP in
any Java application.
Best regards,
Alexander Peshkov mailto:peshkov at renderx.com
RenderX
RC> Hi
RC> I've downloaded XEP and worked through your tutorial but I need some
RC> guidance on something that isn't quite clear to me. I'm currently
RC> doing a project where I'm taking in user input, inserting it into my
RC> XML document and from there I want to create a PDF file. As sections
RC> of the document are change due to user input I need to be able to
RC> automatically transform my XML and XSL documents into XSL FO so that
RC> a PDF document can be created. What I want to know is how I
RC> automatically do this? My project is very similar to the CV Writing
RC> Assistant demonstrated on your web site.
RC> I had been typing in the following command into the command prompt
RC> run hammer.xml [hammer.xsl]
RC> but this does not work and on the command prompt the error list is
RC> not a pair appears.
RC> As I've never used XEP or anything like this before I really don't
RC> have a clue as to what to do or if I need to download anything else
RC> etc... and as my project leader has never done anything like this
RC> before and so is of no help either.
RC> Your help would be very much appreciated as I only have a few more
RC> weeks before my project must be submitted.
RC> Hope to hear from you soon,
RC> Rachael
RC> -------------------
RC> By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
--
Best regards,
Alex mailto:peshkov at softhome.net
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list