Hi all,

I want an xml-structure that is returned by a function as String to be
maintained as xml and not to be treated as text.
I tried it like this:

<xsp:logic>
String noder(void)
{Return("<test>testvalue</test>");}
</xsp:logic>

<xsp:page>
<xsp:expr>noder()</xsp:expr>
</xsp:page>

The node should appear as node in the resulting xml from the logicsheet,
so a stylesheet would be able to transform it later in the pipeline.
I expected the reply from the logicsheet in the browser to look like:

<xml>
<test>testvalue</test>

But what happens is that the thing returns things like:

<xml>
&lt;test&gt;testvalue&lt;/test&gt;

Can anyone help?

Thanks....

Michael


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

Reply via email to