Sorry, my previous answer is probably incorrect. We currently don't know
if the issue you describe an inconsistency or a bug. It will take some
time to check that. Note that given the complexity of what you want do
do, we cannot promise that we'll be able to fix this issue.
Mark Fletcher wrote:
> In my CSS, I’m using xpath to generate link text:
>
>
>
> xref:empty[href] {
>
> content:
> xpath("if(document(@href,.)//title[1],document(@href,.)//title[1],'broken')");
>
> }
>
>
>
>
>
> This works great, but if a writer decides to provide their own link
> text, they don’t see their text displayed unless they reapply the styled
> view. However, the reverse it not true. if they remove their text, the
> generated content is shown immediately.
>
>
>
> Is this inconsistency a bug? Or is there a CSS solution for this?
>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support