Dear M. Shafie,One of the views we have in the XXE addon we wrote for our XML schema presents the elements uaing a tree-like view. When the @presence attribute is set to 'mandatory', the grp elements are displayed non collapsed by default, otherwise they are; e.g. in our CSS:
geov|grp {
display: block ;
collapsible: yes;
collapsed: yes;
not-collapsible-head: 1;
}
geov|grp[presence=mandatory] {
collapsed: no;
}
Now, whatever the collapsible state of the geov|grp element, if we
add/modify one of its children, the entire tree gets collapsed again
when @presence != 'mandatory'. For geov|grp whose @presence =
'mandatory', everything works as expected and the current collapsible
state is kept unchanged.
Is there any workaround to prevent this from happening ? (it is somewhat cumbersome for it forces the users to constantly re-open the tree-view nodes..).
Many thanks for your help, as always. Best regards. Philippe.
<<attachment: philippe_nobili.vcf>>
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

