Stefano Mazzocchi wrote:
One thing, though, remember to also have a LinkRewritingTransformer that
is block aware so that we can do
<style src="block:skin:/styles/main.css"/>
and this gets translated in the right URL (hopefully relative, so that
we don't have issues with webapp proxying, or, if absolute, we need a
way to configure where is the cocoon mountpoint as seen from the proxy
side)
I'm currently doing
http://simile.mit.edu/repository/linotype/trunk/stylesheets/absolutize.xslt
with my latest linotype and I can't wait to get rid of all these hacks :-)
I haven't checked it but I think the LinkRewritingTransformer in the
link-rewriting block is already block aware and does what you want. Of course it
needs to be moved to core.
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------