Hello,
my propose is a plugin to overload the display method ?getValue? for the element you want to encode. In your case, write your class with a static display method for the author element, e.g.
<BR>Package ... <BR><BR>import java.net.URLEncoder;<BR><BR>public class MyClass {<BR><BR> public String displayAuthor(Element author) {<BR> return URLEncoder.encode(author.getText());<BR> }<BR><BR>}<BR></pre><BR><BR><BR>Register the Plugin within the xapplication.xml file of your application, e.g.<BR><BR><pre class="ip-ubbcode-code-pre"><BR><plugin><BR> ...<BR> <element name=?author?><BR> <action name=?getValue?<BR> method=?...MyClass.displayAuthor? /><BR> </element><BR> ...<BR></plugin><BR>
For more information about plugins have a look at the documentation of X-Application.
Bye,
Christian.
#API-Management#webMethods#Tamino