When you invoke run on the Script object to execute, you pass in the jelly context and an XMLOutput instance. If you create the XMLOutput instance with XMLOutput.createXMLOutput, you can pass in another parameter at the end that's an escapeText flag. If it's false, your text should not get escaped.

Scott


Robert Lario wrote:


I written a tag as follows:
public void doTag(org.apache.commons.jelly.XMLOutput xMLOutput) {
try {
xMLOutput.write("<%");
xMLOutput.write(this.getBodyText());
xMLOutput.write("%>");
} catch(Exception ex)
{
}
}
When I use the tag I want the output to be :
<% some stuff %>
but get &lt; some stuff gt;
Can someone please help me with this? Thanks





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to