Hi,
I also encounter the same problem and here is what we have done :
We retrieve the HTML block and we put some XML comment tag around it :
<!--
<P class=txt_w><STRONG>Marine Power Europe, Inc</STRONG>.<BR>is a subsidiary of Mercury Marine USA, which is a division of Brunswick Corporation.</P>
<P class=txt_w>It's a leader in the manufacture, distribution and sales of recreational and comm</P>
<P class=txt_w>commercial marine products throughout Europe, Africa, the Middle East and CIS.</P>
<P class=txt_w>Marine Power Europe, the international one-stop-shop for all that is best in pleasure boats and marine engines. </P>
<P><SPAN class=txt_w>Top brands: <STRONG>Mercury, Mariner, MerCruiser, MotorGuide, Quicksilver, Arvor, Uttern and Valiant</STRONG></SPAN> <BR></P>
-->
Then in the XSL used in the pipeline we say :
<xsl:copy-of select="/PAGE/BODY/CONTENT/CENTER/DESCRIPTION/comment()"></xsl:copy-of>
You can use copy or value-of or... the important is "comment()"
| [EMAIL PROTECTED]
16/04/2004 12:13
|
To: [EMAIL PROTECTED] cc: Subject: HTML fragment from database come escaped |
hi all
i try to post the html fragment as content of a text area in a xsp-action
that add this content to a database (msaccess), everything works fine and
when i check the table's content i see the posted html fragment.
but when i use xsp to make a SELECT query, when i try to send this
fragment to the browser, the content is escaped
so if the posted data are <strong>word</strong> instead i get a bold
"word" i see
"<strong>word</strong>"
because < and > came escaped.
has anyone try to do something similar?
any hint ?
thnx
--stavros
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
