Hi list,

I'm trying to figure out how to return XML code from a taglib?

When I try to return, say, like the following:

return '<title>My doc</title>';

what is actualle returned is '&lt;title&gt;My doc&lt;/title&gt;'.

I'm using TaglibHelper, and I'm perfectly aware that I can return, say,
{ title => 'My doc' }. However, in the present situation, I'm fetching a
large pre-formatted Docbook document from a database, so it would be
impractical at best to convert it to an anonymous hash.

But I cannot figure out how to return the string literal - ie., with
the XML tags intact.

Regards,
Lars

Lars Skjærlund, Network Consultant, Spinn International ApS
Bukkeballevej 30, 2960 Rungsted Kyst, Denmark
Tel.: +45 70 25 88 10, Fax: +45 70 25 88 44
Mail: [EMAIL PROTECTED] Web: http://www.spinn.dk
--

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

Reply via email to