Joerg Heinicke wrote:
On 08.02.2004 18:45, Andreas Hochsteger wrote:

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;', '')"/>


translate() must not be used here as it operates on /returns a string(s), no nodeset(s). But from reading Ugo's message I don't know if this solves the core of your problem.

translate() is part of the original woody-field-styling.xsl, so perhaps it should be changed there?


Concerning my problem I think the best solution would be to implement something like an XML datatype and some converters for Woody.
But first I have to dig into the internals of Woody I guess ;-)


Or is there a better way?

Joerg

Andreas

Reply via email to