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],'broke
n')");

}

 

 

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? 

 

Thanks.

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

Reply via email to