Re: [xep-support] xinclude and command line

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon Jan 16 2006 - 14:09:28 PST

Jacques Foucry wrote:

> But it don't works.

You must tell XEP to use XML parser with XInclude support enabled. Here
is my command-line for XEP (it also enables support for XML catalogs,
you don't need this probably):

set
CP=c:\batch\xercesImpl.jar;c:\batch\;c:\batch\resolver.jar;c:\batch\saxon643.jar;C:\Program
Files\RenderX\XEP\lib\xep.jar;C:\Program
Files\RenderX\XEP\lib\saxon.jar;C:\Program
Files\RenderX\XEP\lib\xt.jar;c:\batch\xercesImpl.jar

java -Xmx900M -classpath "%CP%"
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration
-Dcom.renderx.sax.entityresolver=org.apache.xml.resolver.tools.CatalogResolver
-Dcom.renderx.jaxp.uriresolver=org.apache.xml.resolver.tools.CatalogResolver
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files\RenderX\XEP\xep.xml" %*

In your case adding xercesImpl.jar into classpath and setting
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration
should be sufficient.

HTH,

                                Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
      ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------

-------------------
(*) 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/terms-of-service.html

Received on Mon Jan 16 14:38:48 2006

This archive was generated by hypermail 2.1.8 : Mon Jan 16 2006 - 14:38:48 PST