On 4/6/06 2:43 AM, Hussein Shafie wrote:
> Per Thomsen wrote:
>   
>> But when I want to add a refsection inside a top-level refsection, I
>> can't do it in XXE. If I hand-edit a refsection in there, there is no
>> problem, and I can add more 'sub-refsections' at the same level, but
>> again, I can't add another 'sub-sub-refsection'.
>>
>> To be clear, when I say that I can't do it in XXE, I mean that if I
>> click on the 'insert after' (or 'insert before' or 'convert') button in
>> the edit tab on the right of the screen, the resulting list doesn't give
>> me the option of 'refsection' anywhere inside a top-level refsection. If
>> I select the entire refsection, I am only able to add another top-level
>> refsection.
>>
>> Maybe I'm missing something obvious, and I just don't know how to get
>> XXE to do what I want.
>>     
>
> Yes. Have you taken the time to read the tutorial? 
I have.  I should probably read it again.
> If there is *one*
> *thing* to remember, it is:
> [1] Select an element or a text node by clicking on it in the node path bar.
> [2] Use "Insert After" (and *not* "Insert").
> If you don't find the element you want to insert in the list. It is
> because the schema forbids you to do so in the current context. (XXE
> knows that better than you and me.)
> [snip]
>
> This means:
> * If a refsection starts with a title and one or more ``paragraphs'',
> you can add a sub-refsection after the *last* ``paragraph''.
> * Otherwise a refsection just contains a title and one or more
> sub-refsections.
>   
What I missed was the *last* part. I was trying to add the refsection
after a paragraph in the middle of the top-level refsection.

Thanks!
Per

-- 
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen at reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060406/5b02f45f/attachment.htm
 

Reply via email to