OK. FWIW, label() shows the same behavior as xpath(); removing the text
triggers a refresh, adding text does not.


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Tuesday, May 25, 2010 12:40 AM
To: Mark Fletcher
Cc: [email protected]
Subject: Re: [XXE] CSS generated content question

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],'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?
> 


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

Reply via email to