You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Dominic Reynolds <do...@lantnern.com> on 2002/07/02 00:21:33 UTC

Parameter substitution in an XML attribute tag

I have an xsp file that accesses paramaters passed back from an action.
The xsp generates an XML file and the XML has attributes whose values are the 
value of the parameter:

======== xsp file snippet===============
<results status="<xsp:expr>status</xsp:expr>">
</results>
==================================
This doesn't work and the stack trace reports that characters such as '<' 
can't be in the attribute value. 

Is there another way to push these parameter values into the attribute value?


Thanks,
dominic.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>