Hello:
I have a doubt. In my css I have something like this:
division_body::before
{
font-weight: bold;
color:#9C0031;
content: element-label() " " collapser() " " attributes(wrap-rows,no);
}
division_body
{
display: block;
collapsible: yes;
not-collapsible-head: 1;
collapsed: yes;
border: 3px solid black;
padding: 2;
margin: 5;
}
And division_body is defined in my dtd as follows:
division_body (paragraph* | division*)
The problem is that some division_body are empty, and have nothing inside.
In these cases if we "click" over collapser, the parent is collapsed, and it
is not desirable for us.
?Is there any way to show the collapser only if division_body is not empty,
or some other solution to avoid this collapser behaviour?
Thank you in advance,
--
Fco. Mario Barcala Rodr?guez
Computer Engineer
email: barcala at freeresearch.org