Hussein Shafie schrieb:

>> it seems that the insert button for an element (created with 
>> "insert-button()) does nothing when the element has already a 
>> sub-element.
>> I think it would be more intuitive to hide the insert button in this 
>> case.
>> This should be done automatically.
>
>
> You are right. We are aware of this limitation but improving this 
> would mean making views making extensive use of such buttons (like 
> views styled with "xmldata.css") slow to the point of being unusable.
>
If the performance issue is a big problem, maybe the command 
insert-button() could get an optional parameter to control the 
displaying behavior.
 "always", "on-empty-element" (=default)
Then it would be sufficient to add the parameter "always" in "xmldata.css".

-- 
Best regards
Michael H?bner

-----------------------------------------------
- Michael H?bner                 Voice: +49/3677/69-2871
- Ilmenau Technical University   Fax:   +49/3677/69-1220
- Dept. Process Informatics      http://www.theoinf.tu-ilmenau.de/proinf
----------------------------------------------- 



Reply via email to