Mike M wrote:
> My commandline is this (Windows):
>
> "C:Program FilesJavajre1.6.0_01binjava"
-cp
"C:DocBookfop-0.93buildfop.jar;C:DocBookfop-0.93
libxalan-2.7.0.jar;C:DocBook
>
fop-0.93libxml-apis-1.3.02.jar;C:DocBookfop-0.93libxe
rcesImpl-2.7.1.jar;C:DocBookdocbook-xsl-1.72.0extensions
xalan27.jar" -Djava.
> endorsed.dirs="C:DocBookfop-0.93lib"
org.apache.xalan.xslt.Process -in
"D:_1Personal_ProjectsGroovydoctest.xml" -out
"test.html" -xs
> l
"C:DocBookdocbook-xsl-1.72.0htmldocbook.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?
It is very likely that file is expected in the current
working
directory. It is usually better to invoke transformation in
directory
with your files and then specify DocBook source by relative
path, in
your particular case by using -in test.xml parameter.
--
------------------------------------------------------------
------
Jirka Kosek e-mail: jirka kosek.cz http://xmlguru.cz
------------------------------------------------------------
------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document
processing
------------------------------------------------------------
------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34
member
------------------------------------------------------------
------
Be in, register for XML Prague 2007 today! http://www.xmlprague.cz
|