Hello,

thank you very much for this quick reply. It SOLVED my issue completely.
Thumbnail view was really much faster. Even not perfect, the speed was
reasonable. The issue was as you sad the images, as there are cca 60
high-res images in my document.

Just out of curriosity, wouldn't it be possible to somehow lazy load the
images, so they are loaded just in case the user scrolls to them?

With collpased xinclude the performance was of course perfect. I created a
new View for it and made it the default. This is a perfect setup now for my
users. First the document gets loaded with xinclude collapsed and if they
wish to see the whole document they may choose the thumbnail view instead.

Thank you,

Petr

On Tue, Dec 23, 2008 at 4:16 PM, Hussein Shafie <hussein at xmlmind.com> wrote:

> Petr Nalevka wrote:
> >
> > first of all thanks for this excellent editor which I think is now the
> > only reasonable way how to edit DocBook for non-technical people in a a
> > visual manner.
> >
> > My issue is: I have a huge modular document which has more than 120
> > pages
>
> 120 pages is not that big. We routinely test XXE against a 600 page book
> without major performance problems. The slowness probably comes from
> your (high-resolution) images. I would recommend to try working with the
> CSS style sheet called "Images displayed as thumbnails".
>
>
>
> > including maybe 30 images and huge tables. This makes XML Mind
> > perform very slowly when I open the main document with all the
> > XIncludes. It takes 20 seconds just to resize the editor window.
> >
> > I'm wondering if there is a way how to customize the DocBook styles to
> > only show a preview of the included fragment (anyway it is not directly
> > editable in the main document), or if it would be possible to only show
> > an empty box saying that here is an include from a ceratin href and I
> > could do CTRL+Shift+E to follow the include into a new tab as usual.
> >
> > I'm not much familiar with the customization documentation, so I wonder
> > if this could be achieved just in the customization layer, not touching
> > XXE sources.
> >
> > What would be really great, to have it just in styles so beside "Show
> > info about included elements" in Menu->View I could choose "Collapsed
> > includes" or something similar.
> >
>
> Yes, this is possible (and even pretty easy to do) but you need to
> specify such CSS style sheet yourself. This CSS style sheet should
> contain the following rule:
>
> ---
> @namespace prop "http://www.xmlmind.com/xmleditor/namespace/property";;
>
> *:property(prop|inclusion) {
>    content: property(prop|inclusion);
>    color: red;
> }
> ---
>
> How to do this cleanly (that is, not touching XXE sources or
> configurations) is explained in "XMLmind XML Editor - Configuration and
> Deployment", "Adding a custom CSS style sheet"
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/add_css.html
>
> --> The quick and dirty way: add the above CSS rule in
> XXE_install_dir/addon/config/docbook/css/docbook.css if your document is
> a DocBook 4 document and in
> XXE_install_dir/addon/config/docbook5/css/docbook5.css if your document
> is a DocBook 5 document.
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081228/0932c09b/attachment.htm
 

Reply via email to