On 06/15/2011 04:15 PM, Daniel Hong wrote:
> I think it's because users(sometimes programmers) expect that they would have 
> all the child elements available to them instead of having to create one 
> child element as a requirement to creating the sibling element.
> 
> And you mention that this is a "complicated" and "sophisticated" insert. Are 
> you saying this because internal implementation is complicated? 

We would have no technical difficulty implementing such command. For
example, we already have a command called "add" which also attempts to
be ``smart''. Such "add" command is often used by our toolbar buttons
(e.g. Add a paragraph, Add a figure, etc).

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/add.html



> To the user, and from usability perspective, I think the method I've 
> mentioned is more straightforward.
> 

We are sorry but we don't agree. We think that at first, a single smart
insert command seems to be easier to use but very quickly, the user will
make mistakes with it. That is, the command will *not* do exactly what
she/he wants.




> Another element is "colspec" in "tgroup".

Please select a <thead> or <tbody> and use "Insert Before" to insert
<colspec>.




> 
> Thanks,
> Danny
> 
> -----Original Message-----
> From: Hussein Shafie [mailto:[email protected]] 
> Sent: Wednesday, June 15, 2011 10:06 AM
> To: Daniel Hong
> Cc: '[email protected]'
> Subject: Re: [XXE] Missing elements?
> 
> On 06/15/2011 03:43 PM, Daniel Hong wrote:
>> I see. What was the reason for this design decision? I guess experience user 
>> of XMLEditor would be use to it but it seems confusing to the new user.  
> 
> Yes, we agree that all the other XML editors we have tested do not work
> like this, and that this may be surprising.
> 
> 
> 
>> Is it to enforce the fact that these elements must be first item in 
>> "properties" or "tgroup" element? User should be able to insert "prophead" 
>> when they have "properties" selected, if the element already doesn't exist.
>>
> 
> We are convinced that our approach is the most straightforward and the
> most precise one. With 3 simple Insert commands instead of just a
> complicated one[*], you know precisely what you are doing.
> 
> Now we understand very well that some users do not like this approach.
> 
> 
> ---
> [*] With examples other than properties/prophead/property, we bet that a
> user cannot easily predict where this kind of sophisticated Insert
> command will actually insert the new element.
> 
> 
> 
>> Thanks,
>> Danny
>> -----Original Message-----
>> From: Hussein Shafie [mailto:[email protected]] 
>> Sent: Tuesday, June 14, 2011 7:35 PM
>> To: Daniel Hong
>> Cc: '[email protected]'
>> Subject: Re: [XXE] Missing elements?
>>
>> On 06/14/2011 11:21 PM, Daniel Hong wrote:
>>> Certain element appears to be missing from the Edit Tool suggestion box
>>> when I try to insert them.  For example, when I select properties
>>> (either using arrow keys,  "node path bar" or tree view) then select
>>> "insert," I only get property element in the list when I believe I
>>> should also get prophead element. This is the same for colspec element
>>> for table.  Is this a bug or expected behavior?
>>>
>>
>> No, this is not a bug. You are using command "Insert" instead of using
>> command "Insert Before".
>>
>> For example, in the case of <properties>, a newly created <properties>
>> contains a <property> child.
>>
>> [1] Select this <property>, for example by clicking on "property" in the
>> node path bar.
>>
>> [2] Use "Insert Before" (not "Insert").
>>
>> [3] Select "prophead" from the Edit tool.
>>
>> See attached screenshot.
>>
>>
>>
>>
>>>
>>> When I edit the xml manual then load it back up in the editor prophead
>>> element appears to be detected correctly and even visually styled. Any
>>> comments or suggestion?
>>>
>>
>> Please take the time to follow our tutorial:
>>
>> http://www.xmlmind.com/xmleditor/tutorial.html
>>
>> If you find that the above tutorial is too comprehensive and don't have
>> enough time to follow it, we nevertheless recommend to read (no
>> screencasts) this minimal tutorial:
>>
>> http://www.xmlmind.com/xmleditor/_distrib/doc/help/quickstart.html
>>
>>  
>> --
>> XMLmind XML Editor Support List
>> [email protected]
>> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>>
>>
> 
>  
> --
> XMLmind XML Editor Support List
> [email protected]
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
> 
> 

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to