Re: [xslt] Query for multiple substring-after (before) calls



On Wed, May 03, 2006 at 03:41:28AM +0530, Rahul wrote:
> I am sorry:
> Following substring-after works:
> <xsl:value-of select="normalize-space(substring-after(.,' '))"/>
> But the following one doesn't work:
> <xsl:element 
> name="{normalize-space(substring-before(substring-after(.,'proposal'),' 
> '))}"/>

  don't use carriage return directly, escape them ! Use &#xA; for example

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]