Hi!

Thanks for your reply.
Do you mean the file woody-field-styling.xsl?

I just had a look at it:
<!--
wi:field with @type 'htmlarea'
-->
<xsl:template match="wi:field[wi:[EMAIL PROTECTED]'htmlarea']]">
<textarea id="[EMAIL PROTECTED]" name="[EMAIL PROTECTED]" title="{wi:hint}">
<xsl:apply-templates select="." mode="styling"/>
<!-- remove carriage-returns (occurs on certain versions of IE and doubles linebreaks at each submit) -->
<xsl:copy-of select="translate(wi:value/node(), '&#13;', '')"/>
</textarea>
<xsl:apply-templates select="." mode="common"/>
<script language="JavaScript">HTMLArea.replace('<xsl:value-of select="@id"/>',htmlareaconfig);</script>
</xsl:template>


It seems that there is already xsl:copy-of in use.
Is it possible to signal the binding framework, that it should treat the string as XML?


Thanks,

Andreas

Nicolas Toper wrote:

Hi,

I just had the same problem with my own CMS. The
problem is using xsl:copy-of instead of value-of.

Hope it helps :=)

nicolas
 --- Andreas Hochsteger
<[EMAIL PROTECTED]> a �crit : > Hi,

how can I use a string which can be edited by the
HTMLArea widget in an XML binding?
The problem is, that the XHTML content which should
be edited is only shown with the tags removed.


Any ideas?

Thanks,

Andreas







Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/



Reply via email to