cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaroslaw Kutylowski" <JKutylow...@axit.pl>
Subject RE: My HTML tags in XML page are escaped
Date Fri, 08 Jun 2001 06:10:10 GMT
There are 2 possibilities for you (as always :)). The first is you use the
<util:include-expr><util:expr>mymethod()</util:expr> </util:include-expr>
which automatically converts a string that contains html/xml tags into a DOM
structure or, the better way,
you make a function that directly outputs a DOM Node.

The choice is yours, but we encourage you to use the second, more elegant,
method.


Jaroslaw Kutylowski
AxIT Poland


-----Original Message-----
From: Sharief Chandler [mailto:sharief@redknee.com]
Sent: Friday, June 08, 2001 1:09 AM
To: cocoon-users@xml.apache.org
Subject: My HTML tags in XML page are escaped


When I type:
......

<xsp:content>
	<xsp:expr>
		myHtmlAsStringMethod()
	</xsp:expr>
</xsp:content>

...


The page will actually show <select>...

and when I view source it shows &lt;select&gt; in my page.

How do I get the returned string of HTML tags to become a part of my page?

Sharief





Sharief Chandler
REDKNEE Inc.
sharief@redknee.com
Phone: +19056255072




---------------------------------------------------------------------
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>


---------------------------------------------------------------------
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