[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] External code files (using Xalan)
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 <jirka@kosek.cz> To: Mike M <spmikedev@yahoo.com> Cc: docbook-apps@lists.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 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? 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 ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]