J?r?me Conus wrote:
> With XmlMind 3.0, I?m trying to open a large document (DocBook)
> containing lots of big images. To be able to load this document, I first
> had to increase the limit of memory usage to 512Mb. Then, once the
> document is loaded, I used the stylesheet 'Images displayed as thumbnails'.
> 
>  
> 
> The problem is that I didn?t find a way to permanently use the
> stylesheet 'Images displayed as thumbnails', so that I don?t have to
> wait a long time when loading the document before I can change the
> stylesheet. Is it possible ?

This problem is easy to solve. For this, you need to customize the
DocBook configuration for XXE as follows:

--------------------------------------------------------------------
<?xml version='1.0' encoding='ISO-8859-1'?>
<configuration name="DocBook"
  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>

  <include location="xxe-config:docbook/docbook.xxe"/>

  <css name="DocBook"
       location="xxe-config:docbook/css/docbook.css"
       alternate="true" />
  <css name="Images displayed as thumbnails"
       location="xxe-config:docbook/css/thumbnails.css"
       alternate="false" />

</configuration>
----------------------------------------------------------------------

Please copy attached file to XXE_user_preferences_dir/addon/ and restart
XXE.

XXE_user_preferences_dir is:

    * $HOME/.xxe/ on Unix,

    * %SystemDrive%\Documents and Settings\%USERNAME%\Application
Data\XMLmind\XMLeditor\ on Windows 2000/XP,

    * %SystemDrive%\winnt\Profiles\%USERNAME%\Application
Data\XMLmind\XMLeditor\ on Windows NT.

More information in
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mydocbook.xxe
Type: text/xml
Size: 517 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20051104/54a7fbc0/attachment.xml
 

Reply via email to