RE: HEP

Subject: RE: HEP
From: Marco.Mistroni@xxxxxxxxx
Date: Thu, 8 Jul 1999 17:09:12 +0300
Hi,
	Thanx 4 your reply, but ihave an additional problem: I have to apply
the substring-after function to the value of an attribute of the node
I tried
'{substring-after("{@name} <mailto:{@name}> ","a")}'
but it didn't work
br
marco

-----Original Message-----
From:	EXT David Carlisle [mailto:davidc@xxxxxxxxx]
Sent:	08. July 1999 16:05
To:	xsl-list@xxxxxxxxxxxxxxxx
Subject:	Re: HEP



> Wrong: VALUE="{substring-after("abcd","b")"} />
> Right: VALUE="{substring-after("abcd","b")}" />

Wrong actually, you can't use " inside an XML attribute value delimited
by " so you have to have
"{substring-after('abcd','b')}"
or
'{substring-after("abcd","b")}'

the other suspicious thing about the original line was
> <INPUT NAME ="FJKAFJÖASJD"  TYPE="SUBMIT"
which appears to be using latin-1 letters in what appears to be a utf8
encoded stylesheet.

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread