Thanks for the quick reply and the links to the other way of doing 
things.  Everything is working fine now.

Steve


Hussein Shafie wrote:

> steve butler wrote:
>
>> I am trying to evaluate XMLMind editor and everything is looking 
>> good.  Trouble is I cannot get customizations to work.
>>
>> I am trying to get the figure title to appear below the image.  If I 
>> edit the params.xsl file to change the "formal.title.placement" param 
>> so that figure is set to after, then it works fine.  However, I 
>> gather that this is the wrong way to do this and I should use a 
>> customization layer.  So:
>>
>> I've created a a customize.xxe file which is in my configs folder.
>>
>> The contents are:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <cfg:configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>                   xmlns:xs="http://www.w3.org/2001/XMLSchema";
>>                   
>> xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>
>>  <cfg:property name="docb.toHTML.transform" 
>> url="true">my_docbook.xsl</cfg:property>
>> </cfg:configuration>
>>
>> I have created the xsl file, my_docbook.xls as follows:
>>
>> <?xml version='1.0'?>
>> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>>                version='1.0'>
>> <xsl:import 
>> href="xxe-config:docbook/xsl/html/docbook.xsl"/>                        
>> <xsl:param name="formal.title.placement">
>> figure after
>> example before
>> equation before
>> table before
>> procedure before
>> task before
>> </xsl:param>
>> </xsl:stylesheet>
>>
>> Trouble is the title still appears before the image.  I know 
>> my_docbook.xls is being used by the convert menu option because if I 
>> deliberately put an error in it, 
>
>
> There is an easier way to check that: 
> http://www.xmlmind.com/xmleditor/_distrib/docs/help/ar01s05s02.html
>
>
>
>> the conversion shows the expected error.  Obviously I'm doing 
>> something wrong here, but can anyone tell me what?
>
>
> It works fine with:
> ---
> <?xml version='1.0'?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>                version='1.0'>
> <xsl:import href="xxe-config:docbook/xsl/html/chunk.xsl"/>           
> <xsl:param name="formal.title.placement">
> figure after
> example before
> equation before
> table before
> procedure before
> task before
> </xsl:param>
> </xsl:stylesheet>
> ---
>
> * "docb.toHTML.transform" (multi-page HTML) uses 
> "xxe-config:docbook/xsl/html/chunk.xsl".
>
> * "docb.toHTML1.transform" (single-page HTML) uses 
> "xxe-config:docbook/xsl/html/docbook.xsl".
>
> See also 
> http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch06s18.html 
> which is simpler if you just intend to specify custom style sheet 
> parameters.
>
>


Reply via email to