cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duy Tran <duytra...@yahoo.com.au>
Subject disable-output-escaping="yes"
Date Wed, 20 Feb 2002 05:38:01 GMT
Hi

I believe this is bad programming practice as you
said...

Please show me a way to get around the problem.
I use XSP to retrieve data from the database to make a
combobox with the options from the data

    ... while (rs.next()){
                    str = str +  "<option> " +
rs.getString("name") + "</option>";
                }
          return str;

Because str is a string, therefor '<' is &lt; So the
XSL does not consider it as
a markup...


How can I make a '<' in a string not &lt; so that
xsl considers it as a markup

Please help.

Regards

Paul White

http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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