Hello Hiral,
>1. ActiXEP does not process the sample.xml file when I drop it into the hot
folder. It gives me this message:
>'exception during formatting: org.xml.sax.SAXParseException: unexpected
character after document prolog (found "W") >(expected "<") '
By default ActiXEP processes files with *.xml extension as WordML documents.
But your document is DocBook. Either change the extension of file to *.dbx
(for example sample.dbx) or change the stylesheet of *.xml rule to DocBook
stylesheet. Make sure you specify Saxon as a XSLT processor.
>2. XEP Assistant throws this error for the same file:
>Formatting Failed:
>file:///C:/Program
Files/RenderX/XEP4NET/stylesheets/docbook/fo/docbook.xsl(29,2):
>I initially thought something may be wrong in the XML but that XML works
beautifully when I use the command line tool >- xep.bat. It generates the
PDF as expected.
>What am I doing wrong in setting up XEP Assistant and ActiXEP?
XEP .NET wrapper uses .NET's XSLT transformation engine for XSLT
transformation. There is a bug in .NET's XSLT transformation engine and it
can not transform documents with DocBook stylesheet.
You can use xml-stylesheet processing instruction to transform documents
with Saxon. For example your document will look like this.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="file://localhost/C:/Program
Files/RenderX/XEP4NET/stylesheets/docbook/fo/docbook.xsl"?>
<book>
<article>
...
Mher
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Tue May 17 00:59:46 2005
This archive was generated by hypermail 2.1.8 : Tue May 17 2005 - 00:59:47 PDT