List Info

Thread: Re: External code files (using Xalan)




Re: External code files (using Xalan)
user name
2007-06-26 15:35:28
Jirka,

The transformation *is* invoked in the directory containing
the docbook file and the file to be included. That is why I
find it so strange that the file cannot be found.

Mike

----- Original Message ----
From: Jirka Kosek <jirkakosek.cz>
To: Mike M <spmikedevyahoo.com>
Cc: docbook-appslists.oasis-open.org
Sent: Tuesday, June 26, 2007 8:44:41 PM
Subject: Re: [docbook-apps] External code files (using
Xalan)

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: jirkakosek.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






 
____________________________________________________________
________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/feat
ures_spam.html

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )