»User: »Password:   Remember Me? 
>e-novative> Support and Discussion Forums / General / Questions, Complaints, Praise, and Criticism / Docbook environment without a command prompt
Posted:  03 Jan 2008 00:17
We are currently using xslt files to display html on screen. We would like to use the Docbook environment to create pdf output for printing.

I have created xml files (using an xslt) that I can manually cut and paste into an xml file that produces pdf output. Unfortunately, however, I need to run Docbook commands from the command prompt to do this.

Can I do this automatically and avoid having to use command prompts?

Thanks!
Posted:  03 Jan 2008 19:04
I'm not sure if I understand the question. You can call the eDE batches from any batch file, if that is what you need.
Posted:  03 Jan 2008 23:52
e-novative,

Thanks for your reply! When I run our current system, I simply open an xml file in IE. This file references an xslt file that creates an html file which is displayed.

I've used your eDE in the following way:

1. I create a base file by running the command:
Docbook_create article test.
This creates a test.xml file.

2. I developed a new xslt which creates an output file with the Docbook tags.

3. I open my xml file in IE and reference this new xslt.

4. I use microsoft tools to display the 'XSL Transformation Output' and cut and paste this output into the test.xml file.

5. I run the command:
Docbook_pdf test
to produce my pdf output

This all works wonderfully! I love your system, but I would like to be able to automate the Docbook commands from the xslt itself. That way the user would be able to select display and/or print right from the IE and not have to laern Docbook commands.

I hope that makes sense!

Thanks,
Lawrence Mohr
Posted:  11 Jan 2008 18:39
I don't think that this approach will work out. It is not possible to run system commands from your browser, and for good security reasons.

Why not generate PDF or HTML first and let the user view that? Then he can save/print and whatever using the regular browser/PDF viewer functionality.
Posted:  14 Jan 2008 21:18
Thanks. I'll try that concept.