cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens-A. Reinhardt" <fla...@uni-koblenz.de>
Subject Re: what am I doing wrong???
Date Tue, 29 May 2001 07:57:00 GMT



On Mon, 28 May 2001, Donald Ball wrote:

> <input type="{@type}" name="{@name}" maxlength="{@maxlength}" size="{@size}">
>   <xsl:attribute name="value">
>     <xsl:call-template name="strip-whitespace">
>       <xsl:with-param name="arg" select="@value"/>
>     </xsl:call-template>
>   </xsl:attribute>
> </input>
>
> maybe see esxlt.org or xsltsl.sourceforge.net for a strip-whitespace
> xslt function if you can't figure out how to make one.

maybe normalize-space() helps. It's supposed to remove all leading and
trailing whitespaces and replace any run of whitespaces by a single
whitespace.

Jens



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