is there any possibility to automate XSL-Export completely (e.g. BAT with kpscript) ?
I have studied this topic: http://sourceforge.net/p/keepass/discussion/329220/thread/b90e6297/
tried the samples posted there, but there is no sample submitting three file names: input, XSL, output.
Regards
Denis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It appears that KPScript does not support Export using XSL stylesheets that are specified on the command line. At least I haven't found a syntax that works. However, KPScript will prompt for the stylesheet if -Format:"Transform using XSL Stylesheet" is supplied on the command line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've now added an optional command line parameter "-xslfile:". If a path is passed using this parameter, KPScript will use this XSL file instead of asking which one to use.
Hello
is there any possibility to automate XSL-Export completely (e.g. BAT with kpscript) ?
I have studied this topic: http://sourceforge.net/p/keepass/discussion/329220/thread/b90e6297/
tried the samples posted there, but there is no sample submitting three file names: input, XSL, output.
Regards
Denis
It appears that KPScript does not support Export using XSL stylesheets that are specified on the command line. At least I haven't found a syntax that works. However, KPScript will prompt for the stylesheet if -Format:"Transform using XSL Stylesheet" is supplied on the command line.
Feature request?
cheers, Paul
Yes, as I see the XSLt as easiest way to generate files in an arbitrary format (in my case INSERT SQLs) just on the fly rather than writing plugin.
Last edit: Denis 2015-05-05
Sorry, should I do smthg more ?
Kind Regards
Denis
I wouldn't think so. Dominik will have read this thread and consider your suggestion.
cheers, Paul
I've now added an optional command line parameter "-xslfile:". If a path is passed using this parameter, KPScript will use this XSL file instead of asking which one to use.
Here's the latest KPScript development snapshot for testing:
http://keepass.info/filepool/KPScript_150508.zip
Thanks and best regards,
Dominik
Hi Dominik,
could you provide a sample BATch file for windows ? I couldn't mange it to use "Tranmsform using XSL Stylesheet"... :(
Thx a lot in Advance
Danke !
Denis
Note that if you're using a translation, you must use the translated name of "Transform using XSL Stylesheet"; see the export dialog for its name.
Best regards,
Dominik
Sorry, Dominik, how could I provide a Group Naem (I'm exporting single Groups)...
Lot of Thx
Denis
You can only export the entire database using KPScript.
http://keepass.info/help/v2_dev/scr_sc_index.html
cheers, Paul