I am trying to do this:
===
<?xml version="1.0"?>
<xsp:page xmlns:xsp="http://apache.org/xsp"><page> <xsp:expr>com.plumcreek.junk.XSPTest.testMethod()</xsp:expr> </page></xsp:page> === Here's the code for the class:
===
package com.plumcreek.junk;
public class XSPTest { public static String testMethod(){ return "<p>This space for rent.</p>"; } } === I am expecting this string: "<p>This space for rent.</p>", but
instead, what I get on my page is "<p>This space for
rent.</p>".
Is there a way to tell XSP to not tweak the returned string to make it
"xml-safe"?
Environment: Win2K, jdk1.3.1, cocoon 2.0
Larry
|
- RE: Help: xml from a class with XSP Larry Meadors
- RE: Help: xml from a class with XSP Chitharanjan Das
- RE: Help: xml from a class with XSP Larry Meadors