hi,
i tried both but neither does work. i googled but can't find anything on how to create strings with "<" or ">" characters or how to print these characters as output of the xsp.
besides, i've got another problem.
code in xsp:
<xsp:page xmlns:xsp="http://apache.org/xsp" xmlns:sql="http://apache.org/cocoon/SQL/2.0">
<sql:execute-query name="customer">
<sql:query>
INSERT INTO cmdb (bezeichnung,kategorie,standort,admin) VALUES (
'<sql:substitute-value xmlns:sql="http://apache.org/cocoon/SQL/2.0" sql:name="bezeichnung"/>',
'<sql:substitute-value xmlns:sql="http://apache.org/cocoon/SQL/2.0" sql:name="kategorie"/>',
'<sql:substitute-value xmlns:sql="http://apache.org/cocoon/SQL/2.0" sql:name="standort"/>',
'<sql:substitute-value xmlns:sql="http://apache.org/cocoon/SQL/2.0" sql:name="admin"/>')
</sql:query>
</sql:execute-query>
<xsp:logic>
[...]
output:
<sql:execute-query name="customer" xmlns:xsp="http://apache.org/xsp" xmlns:sql="http://apache.org/cocoon/SQL/2.0">
<sql:query>
<sql:substitute-value sql:name=""/>
<sql:substitute-value sql:name=""/>
<sql:substitute-value sql:name=""/>
<sql:substitute-value sql:name=""/>
</sql:query>
</sql:execute-query>
what happened to the "INSERT INTO" etc???
greets, volker
The usual way of dealing with this type of problem is with DOE.
How about: <xsp:logic disable-output-escaping="true"> ... </xsp:logic> Does that work?
Maybe try that on the <xsp:page> element?
I've not used XSP, and I don't know what gets output where or how.
Ben Pope
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
