cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Reynolds <domi...@lantnern.com>
Subject Parameter substitution in an XML attribute tag
Date Mon, 01 Jul 2002 22:21:33 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message