Philippe Nobili wrote: > > We get back to you with this problem which looks like a bug (or > something we misunderstood) in XXE. > > Using our DocBook configuration, the document conversion dialog is > dimmed (i.e. we have no way to select 'Use profiling stylesheets' nor > 'Generate XHTML'). After some investigation, it appears that the > following statement in our configuration file causes the problem: > > <property name="docb.toHTML1.transform" url="true"> > xsl/html1/default_custom.xsl > </property> > > If we comment out this statement and start XXE again, we get back the > preference dialog... This happens whatever the content of the XSLT file > declared in the property element, for example we tried: > > <property name="docb.toHTML1.transform" url="true"> > xsl/html1/dummy_custom.xsl > </property> > > And in dummy_custom.xsl, we just placed a dummy customization statement, > and get the same effect: > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:param name="section.autolabel" select="0"/> > </xsl:stylesheet> > > Since we declare various *.xsl files this way in order to customize > heavily the stock outputs, we cannot just comment these lines from our > DocBook configuration... >
This is not a bug. Customizing a configuration by hand (that's what you are doing by specifying property "docb.toHTML1.transform") automatically disables "Options|Customize Configuration|Document Conversion Preferences". When custom XSLT stylesheets have been specified by a consultant like you, we simply do *not* know how to implement: * Generate XHTML rather than HTML * Use the profiling stylesheets We know how to implement the above features only for the *stock* DocBook XSLT stylesheets. You, as a consultant (i.e. as opposed to a normal user), are expected to specify: <property name="docb.toHTML1.transform" url="true"> xsl/html1/default_custom.xsl </property> where "xsl/html1/default_custom.xsl" * readily generates XHTML rather than HTML, if this is what you prefer. * readily imports the profiling XSLT stylesheets rather the normal one, if this is what you prefer. -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support