[xep-support] Once agin, XEP, command line and XInclude

Jacques Foucry jacques at foucry.net
Sun Nov 12 22:41:42 PST 2006


Hello folks,

In the beginning of this year I ask this list about a problem with  
xep and xinclude. With a command line I had a lot of errors.

One solution (which I adopt) was to use entity references (solution  
by Werner Donné). The other one was to include in my command line  
call a XML Parser which support XInclude (solution by Jirka Kosek).

Today, after changing my book form docbook 4.x to 5.x, I try again  
the second solution put It still doesn't work.

I changed the xep script shell to include de path to xercesImpl.jar  
and add it into the command line :

#!/bin/sh

# XEP command-line

JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/ 
Home"
XEP_HOME="/Applications/XEP"

CP="$JAVA_HOME/lib/tools.jar:\
$XEP_HOME/lib/xep.jar:\
$XEP_HOME/lib/saxon.jar:\
$XEP_HOME/lib/xt.jar:\
/Developer/Java/Ant/lib/xercesImpl.jar"

"$JAVA_HOME/bin/java" -Xmx512m \
         -classpath "$CP" \
         "- 
Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.p 
arsers.XIncludeParserConfiguration" \
         "-Dcom.renderx.xep.CONFIG=$XEP_HOME/xep.xml" \
         com.renderx.xep.XSLDriver "$@"

The result is not exactly what Jirka shows but his running XEP in a  
Windows environment and I use it under Mac OS X (<http:// 
www.renderx.net/lists/xep-support/4049.html>).

So once again I need your help to have something "correct".

Thanks in advance,

Jacques
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list