
Hello, We did not use profile-docbook.xsl because it does not apply all the profiling attribute values always correctly for complex DocBook documents. We tested that version of profiling stylesheet on a complex document and it allowed in the output some subsections which did not have the profiling attribute value set as the profiling parameter of the transformation. The profile.xsl stylesheet did not have this problem so we used that in the Oxygen scenarios. Regards, Sorin Jirka Kosek wrote:
On 6.6.2011 12:03, Adrian Buza wrote:
Oxygen 12.2 added out-of-the-box support for DocBook profiling(conditional text) in the default transformation scenarios. This means that in the default transformation scenarios two stylesheets are applied to the original XML file: a generic profiling stylesheet(${frameworks}/docbook/xsl/profiling/profile.xsl) and the specific transformation stylesheet(e.g. PDF: ${frameworks}/docbook/xsl/fo/docbook_custom.xsl).
I'm just curious -- is there any reason why you haven't used profile-docbook.xsl instead, which does profiling and actual transformation in a single step?
Jirka