there is the AugmentTransformer which augments all 'href' attributes with the full path to the request. IMHO it is a good starting point for you.
Regards,
Murad Jura.
Robert Sösemann wrote:
Hello, what I need is a centralized mechanism to change the paths in all my site-elements. (that means: Later when I switsch from development to production I just want to change pathname at one single point, not every single href, src ...)Inside elements handled by cocoon (XSP, Generators, Action) thats no problem, because they know their own context. Things I later add in my Transformers are also no problem. I use xsl:include to set a variable in very other xsl. BUT: I also use static html or xhtml pages. How can change path attributes an even javascript command in a similar centralized way? Who can help? Maybe I am on a totally wrong way. Rob --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>