Hello,
in an attempt to allow me to choose among different stylesheets for PDF
conversion, I have written this configuration:
<command name="db5.chooseStylesheet">
<macro>
<sequence>
<command name="pick"
parameter="'Please choose a stylesheet' true
'OMG spec'
'omg/fo.xsl'
'IEEE paper'
'ieee/fo.xsl'
'Normal Stylesheet'
'xsl/fo/docbook.xsl'" />
<get expression="sys:setProperty('db5.toPS.transform', '%c/%_')"
xmlns:sys="java:java.lang.System"/>
</sequence>
</macro>
</command>
<command name="db5.convertToPS">
<macro>
<sequence>
<command name="db5.chooseStylesheet" />
<command name="selectConvertedFile"
parameter="saveFileURLWithExtension=%0" />
<command name="db5.toPSFile"
parameter='"%0" "%1" "%2" "%3" "%_"' />
</sequence>
</macro>
</command>
This appears to run fine, till after FOP has completed. Right at the
end, xxe raises this java error:
Command execution failed:
java.net.MalformedURLException: no protocol: %2
I assume I'm passing the wrong parameter in one of the above commands,
but I can't figure out where.
Any help would be much appreciated,
Stefan
--
Stefan Seefeld
Mentor Graphics
[email protected]
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support