Hi Hussein,

I was able to solve it in the meantime.
There really seemed to be a defintion conflict.
I made my selectors more precise and now it works.
Thanks for your help!

wbr,
Roman

_______________________________________

Roman Huditsch
IT and Electronic Publishing
LexisNexis ARD Orac 
Marxergasse 25
1030 Vienna
Austria 
ph: +43-1-534 52-1514
f: +43-1-534 52-140
e-mail roman.huditsch at lexisnexis.at
www.lexisnexis.at
 

> -----Urspr?ngliche Nachricht-----
> Von: Hussein Shafie [mailto:hussein at pixware.fr] 
> Gesendet: Mittwoch, 9. M?rz 2005 11:28
> An: Huditsch Roman
> Cc: xmleditor-support at xmlmind.com
> Betreff: Re: [XXE] Collapsed Block
> 
> Huditsch Roman wrote:
> > I am running into problems trying to teach XXE to display a 
> certain block element as collapsed per default.
> > There seems to be no problem, when I am doing this 
> manually, but every time I open the document  this element is 
> shown in its expanded form. 
> > 
> > Here are my CSS definitons:
> > 
> > /* ********************************************* */
> > /* Stichworte                                        */
> > /* ********************************************* */ 
> stichworte:before 
> > {
> >     content: paragraph(content(collapser(), "<", 
> element-name(), ">"), 
> >     font-weight, bold, color, white, background-color, gray); 
> >     collapsible: yes;
> >     collapsed: yes;
> > }
> > 
> > stichworte {
> >     display: block;
> >     collapsible: yes;
> >     collapsed: yes;    
> >     not-collapsible-head: 1; /* title or metainfo */
> >     border: 1px solid gray;
> >     padding: 1px;
> >     margin: 8px 4px;
> >     background-color: white;;
> > }
> > 
> > stichwort_alt::before { 
> >     display: inline;
> >     content: division(content("<", element-name(), ">"), 
> >     font-weight, bold, color, navy);
> >     padding-left: 15px;
> > }
> > 
> > stichwort_alt {
> >     border: 1px solid gray;
> >     padding-left: 15px;
> > }
> > 
> > 
> > 
> > and here the XML part:
> > 
> > <normtext>
> >     <stichworte>
> >        <stichwort_alt>Alkoholische Getr?nke 13( 2), 18 
> (1)</stichwort_alt>
> >        <stichwort_alt>Amtsarzt 10 (1)</stichwort_alt>
> >        <stichwort_alt>Anhaltung 4</stichwort_alt>
> >        <stichwort_alt>- Achtung der Menschenw?rde 4 
> (1)</stichwort_alt>
> >        <stichwort_alt>- kurzfristige 27</stichwort_alt>
> >        <stichwort_alt>Anordnungen der Aufsichtsorgane 3 
> (2)</stichwort_alt>
> >        <stichwort_alt>Anstand 2 (2)</stichwort_alt>
> >        <stichwort_alt>Ansuchen der H?ftlinge 23</stichwort_alt>  
> > </normtext>
> > 
> > Do you see any reasons for this behavior?
> 
> Not really. I have mainly removed:
> 
> ---
>      collapsible: yes;
>      collapsed: yes;
> ---
> 
> from "stichworte:before {}".
> 
> Attached files work fine for me.
> 

Reply via email to