URL encoding in XSLT and php

want to url encode the value you are having in the xsl? do the follwoing two liner and you are done.

1. add the name space xmlns:php=”http://php.net/xsl on the xsl part first
2. then use php:functionString(‘urlencode’, “the text/node/orwhatever to be encoded here”);

DONE