I already use your second approach for a different framework/document type, but without oxy_url(oxy_base-uri(),..) by just using:
Code: Select all
content: url("icons/lock.gif") " [Locked by user " attr(locked) "]";
But in other cases we cannot have an extra attribute "locked" according to DTD restrictions, so we are using a PI inside the actual XML node, which defines the locked state.
Therefore I think I have to use the StylesFilter in order to find that PI and then modify the style, according to the text content of that PI.
Or is there an easy oxy custom CSS function, which is able to handle that?
But for now the solution with the StylesFilter by using your resolveRelativeSystemIDs approach works great.
As an aside we are really looking forward for a fix concerning the problem considered here:
Because not only the border is too long, but also the background we set for locked items.
And also the :before statements are outside the visual tag so that we always have to use the display:line;
, which is not desired, because the inline value also eliminates the line break after a :before node.
For us this bug would have the highest priority on our wishlist