Yes you can,

You must have:
- a "XSL" proccessor like XALAN (my personal faforit)
(http://xml.apache.org/xalan-j)
- the Docbook xsl stylesheeds
(http://docbook.sourceforge.net/projects/xsl/index.html)

Then execute a bat (*.bat) file which runs XALAN something like:

@echo off
set JAVA_EXE=java
set JAVA_D_OPTS=-Dhttp.proxyHost=192.168.1.10 -Dhttp.proxyPort=3128
set JAVA_CP=lib\xalan.jar;lib\xercesImpl.jar
set JAVA_EXE_CLASS=org.apache.xalan.xslt.Process
set XALAN_IN=%1
set XALAN_XSL=%2
set XALAN_OUT=%3
set EXE=%JAVA_EXE% %JAVA_D_OPTS% -cp %JAVA_CP% %JAVA_EXE_CLASS% -IN
%XALAN_IN% -XSL %XALAN_XSL% -OUT %XALAN_OUT%
%EXE%

Where the first input is the Docbook xml file
the second input is the docbook xsl file (docbook-xsl\html\docbook.xsl)
and the last input is the output file.

There is also an bat file included in the XALAN distribution, but I didn't
worked with that one...

Hopes this helps!!

Cheers from Amsterdam,
Stefan Lenselink

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands                          
Office:         +31 20 596 23 30
Fax:    +31 20 596 23 31
Web:    http://finalist.com
------------------------------------------------------------- 
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
-------------------------------------------------------------
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.

-----Oorspronkelijk bericht-----
Van: Erik Leunissen [mailto:e.leunissen at hccnet.nl]
Verzonden: maandag 26 januari 2004 23:42
Aan: xmleditor-support at xmlmind.com
Onderwerp: [XXE] command line for generating HTML from Docbook


L.S.

In the XML editor menu, there is a menu option to generate HTML from 
Docbook XML.

For automation purposes, I'm looking for a feature that does exactly 
that, but can be called from the command line. Is this possible?

I did a quick search into various documentation, but couldn't find it 
(if I overlooked it, please excuse). I'd very much appreciate a pointer 
if the feature exists.


Thanks in advance,

Erik Leunissen.

--
XMLmind XML Editor Support List
xmleditor-support at xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support


Reply via email to