Skopik Pavel wrote:
> 
> we have a few documents containing refentries (300-600 refentries). When
> using the structure view I would also like to see the content of the
> refname element so that it is easier for me to navigate in the contents.
> 
> I had a look at the structure.css file and tried to do some
> customization so that the content of the refname element is put right
> after the refentry in the strucutred view as it is in the case of
> chapter titles etc. But I had no luck.
> 
> I parallely did for refname what is done for sections, chapters etc.,
> but I guess this is not the way. I would be grateful for some advice.
> Thank you.
> 

--> Please find attached to this email:

* docbook_css_structure.css to replace
XXE_install_dir/addon/config/docbook/css/structure.css

* docbook5_css_structure.css to replace
XXE_install_dir/addon/config/docbook5/css/structure.css

These CSS files have been tested only against XXE v4.1. They should be
available out of the box in the next release.



--> These CSS make use of the xpath() CSS extension (see
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/xpath.html):

refentry {
    content: xpath("join(.//db5:refname, ', ')");
    color: gray;
}

This kind of content:xpath() is efficient but completely static. If you
prefer something less efficient but much more dynamic, replace the above
rule by:

refentry {
    content: label(xpath, "join(.//db5:refname, ', ')");
    color: gray;
}

See http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/label.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docbook5_css_structure.css
Type: text/css
Size: 2812 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081008/3c30af4b/attachment.css
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docbook_css_structure.css
Type: text/css
Size: 2246 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081008/3c30af4b/attachment-0001.css
 

Reply via email to