RE: [xep-support] Formatting problem with XEPAssistant and ActiXEP

From: Mher Movsisyan <noreply@zenteq.am>
Date: Wed May 18 2005 - 05:50:47 PDT

Hiral,

If you want to use Saxon add xml-stylesheet processing instruction and pass
it to formatter without loading stylesheet. In case of XEP Assistant don't
supply stylesheet in Formatting Settings dialog.

Mher

> -----Original Message-----
> From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
> On Behalf Of Hiral Parikh
> Sent: Wednesday, May 18, 2005 2:24 AM
> To: xep-support@renderx.com
> Subject: RE: [xep-support] Formatting problem with XEPAssistant and
> ActiXEP
>
> Hi Mher,
> Thanks for your reply!
>
> 1. ActiXEP works now with both of your suggestions - renaming the file to
> .dbx and updating the DocBookstylesheet rule to use *.xml.
> 2. I have added the processing instruction as you mentioned, for both XEP
> Assistant and the ASP.NET sample application, but still the same result.
>
> How can I force the ASP.NET sample application and XEP Asst to use saxon
> as
> the transformer?
>
> Thanks,
> Hiral
>
>
> -----Original Message-----
> From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
> On Behalf Of Mher Movsisyan
> Sent: Tuesday, May 17, 2005 3:31 AM
> To: xep-support@renderx.com
> Subject: RE: [xep-support] Formatting problem with XEPAssistant and
> ActiXEP
>
> 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
>
>
> -------------------
> (*) 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

-------------------
(*) 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 Wed May 18 06:36:32 2005

This archive was generated by hypermail 2.1.8 : Wed May 18 2005 - 06:36:32 PDT