scenario parms from command line
scenario parms from command line
Hi,
I've set the profile.condition (Docbook 5) parameter for graphics like this:
imageobject condition="print"
(or "web" for help) to set the scale value.
When I try building the PDF from the command line (using Saxon 6.5), I use the following:
-dprofile.condition=print
but the value is ignored. Graphics are all scaled to 100% which is not what I want.
My question is: how do I get Saxon to recognize scenario parameters?
I've set the profile.condition (Docbook 5) parameter for graphics like this:
imageobject condition="print"
(or "web" for help) to set the scale value.
When I try building the PDF from the command line (using Saxon 6.5), I use the following:
-dprofile.condition=print
but the value is ignored. Graphics are all scaled to 100% which is not what I want.
My question is: how do I get Saxon to recognize scenario parameters?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: scenario parms from command line
Post by sorin_ristache »
Hello,
The parameter is passed to the stylesheet in the form paramName=paramValue, that is without -d, for example:
Regards,
Sorin
The parameter is passed to the stylesheet in the form paramName=paramValue, that is without -d, for example:
Code: Select all
java -cp saxon.jar com.icl.saxon.StyleSheet source.xml stylesheet.xsl profile.condition=print
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service