Devrim E. wrote:

we are using the condition attribute with xsltproc.exe to exclude some
sections from the outputs. We have tested this with xsltproc.exe and
htmlhelp where the command line includes the profile.condition as follows:

LOG:
Args:C:\Home\XXX\xsltproc\xsltproc.exe
--xinclude --stringparam html.stylesheet stylesheet.css --stringparam
profile.condition 111;222
--stringparam htmlhelp.window.geometry [0,0,992,704]
C:\Home\ZZZ\MyXSL.xsl
C:\Home\ZZZ\Programmer's Guide.xml

We would like to achieve the same for the PDFs which we generate with
xxetool.bat (using xmlmind pro 6.0), I tried the command line with

c:\home\XXX\xxe-pro-6_0_0\bin\xxetool.bat convert -t
C:\Home\XXX\docbook\PDF_A4_1Column.xsl
-p hyphenate 1 -p page.type A4 -p profile.condition 111;222 db5.toPSFile
"C:\Home\ZZZ\Programmer's Guide.xml" -s pdf -s "|pdf" -u
"C:\Home\ZZZ\Programmer's Guide for Screen.pdf"

I don't see anything wrong in the above xxetool command.




Is profile conditioning supported at all, if yes,

Yes, profiling is of course supported. We routinely use it for our own documents. Simply you must use the *profiling* *XSL* *stylesheets*, and not the ``plain'' stylesheets. See http://www.sagehill.net/docbookxsl/AlternateText.html

For example, when you generate PDF you must use (or import in your own "PDF_A4_1Column.xsl" customization):

xxe-config:docbook/xsl/fo/profile-docbook.xsl

and not:

xxe-config:docbook/xsl/fo/docbook.xsl




 what would be the right command line?

I'm sorry but I don't know how to answer this question.

If you think you have found a bug in xxetool, please file a formal bug report. A formal bug report must include a way to reproduce the bug here at XMLmind.


--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to