Camille B?gnis wrote:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
> "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
> <article>
>   <title>test</title>
>   <section>
>     <title>test</title>
>     <para><parameter><remark>remark</remark></parameter></para>
>   </section>
> </article>
> 
> 
> When creating it, text node placeholders (grey empty space) appear after
> the "remark" text: one to allow inserting text into <parameter>, another
> into <para>.
> 
> If I leave those empty, close file, reopen it, the placeholders have
> disappeared. It is not even possible to place the cursor into the
> <para>, one has to explicitly create a text node.
> 
> Just annoying, I thought I'd mention it anyway.
> 

I'm sorry but I don't agree. This is not annoying. This is exactly the
desired behavior.

The <para> in your example just contains a <parameter> and no text at
all. Therefore no need to display text placeholders.

If you want to add text, then you need to explicitly insert text nodes
before and/or after <parameter> or <remark>. In order to do so, simply
use the hotkey INSERT (=insert text node after) or Shift-INSERT (=insert
text node before). (Not knowing this hotkey makes XXE really tedious to
use.)



Reply via email to