I'm creating a transformer to modify link elements in an xhtml page (i.e. a, img, link....);
I need to transform links from relative to absolute, so i need to know the url of the last request to add it to the link...
this is the sitemap:
<map:match pattern="aggregate">
<map:act type="auth-protect">
<map:parameter name="handler" value="navigation"/>
<map:parameter name="use-request-parameters" value="true"/>
<map:generate type="serverpages" src="xsp/mcnavigator.xsp"/>
<map:transform type="cinclude"/>
<!-- adjust the tags position to create an xhtml page -->
<map:transform type="xslt" src="style/mcnavigator.xsl"/>
<!-- My Transformer!!! -->
<map:transform type="AbsoluteLinkTransformer"/>
<map:serialize type="xml"/>
</map:act>
</map:match>
</map:match>When i call the aggregate pipeline i pass it a parameter link in wich i put the url of the page i want to retreive (e.i. aggregate?link=www.w3.org), so... how to get my link parameter in the transformer?
thanks a lot, best regards.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
