OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: External code files (using Xalan)


I am having a little trouble getting external code files included.
I am following the instructions as documented here: http://www.sagehill.net/docbookxsl/ExternalCode.html

but I am not having any luck: the file is not being found.

My docbook file contains this:

 <textobject><textdata fileref="codesample.txt" /></textobject>

My commandline is this (Windows):

 "C:\Program Files\Java\jre1.6.0_01\bin\java" -cp "C:\DocBook\fop-0.93\build\fop.jar;C:\DocBook\fop-0.93\lib\xalan-2.7.0.jar;C:\DocBook
\fop-0.93\lib\xml-apis-1.3.02.jar;C:\DocBook\fop-0.93\lib\xercesImpl-2.7.1.jar;C:\DocBook\docbook-xsl-1.72.0\extensions\xalan27.jar" -Djava.
endorsed.dirs="C:\DocBook\fop-0.93\lib" org.apache.xalan.xslt.Process -in "D:\_1\Personal_Projects\Groovy\doc\test.xml" -out "test.html" -xs
l "C:\DocBook\docbook-xsl-1.72.0\html\docbook.xsl"  -param use.extensions 1 -param textinsert.extension 1

The output says: Cannot read codesample.txt
This file is in the same directory as the docbook file.

 How do I get the command to locate the file? Where is it actually looking?


Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]