Jean Jordaan wrote:
>
> XXE renders empty ULINK elements (quite consistently) as gray boxes.
> The HTML output renders them more usefully as e.g. <a class="ulink"
> href="http://en.wikipedia.org/wiki/DocBook"
> target="_top">http://en.wikipedia.org/wiki/DocBook</a>
>
> It would be good if XXE could display something similar. Maybe it can
> treat <ulink ... /> differently from <ulink...>...</ulink>, and
> provide an entry for each in the list of insertable elements?
>
Rationale explaining why ulink is styled like this:
``The gray box is a placeholder in case you want to type text. If you
don't want to type text, then simply ignore the gray text placeholder.''
Please remember that XXE stands for XMLmind XML *Editor*. We think that
it's acceptable to have something looking less polished than in a Web
browser.
Now if you really want to style <ulink ... /> differently from
<ulink...>XXX</ulink>, you can do that yourself by adding a rule such as
the following one to the DocBook CSS style sheet:
ulink:empty {
content: attr(url);
}