|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: HEP
I solved it
Must use
Value="{substring-after(@name,'b')}"
Br
marco
-----Original Message-----
From: EXT John E. Simpson [mailto:simpson@xxxxxxxxxxx]
Sent: 08. July 1999 18:02
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: RE: HEP
Marco.Mistroni@xxxxxxxxx <mailto:Marco.Mistroni@xxxxxxxxx> wrote:
> HI all,
> i have a problem: with the following stylesheet, the xslprocessor
> always gives me an error at the line
> <INPUT NAME ="FJKAFJÖASJD" TYPE="SUBMIT"
> VALUE="{substring-after("abcd","b")"} />
[snip]
> <xsl:template match="command">
> > <INPUT NAME ="FJKAFJÖASJD" TYPE="SUBMIT"
> VALUE="{substring-after("abcd","b")"} />
> </xsl:template>
>
Everyone else's reply seems to be focusing on the point of the error. It
looks to me (assuming no more typos :) that the problem is really the
*preceding line:
<xsl:element
Being immediately followed, as it is, by the <INPUT...> tag, I wonder if the
problem isn't simply that the xsl:element isn't properly closed with a "/>".
If what you're really trying to do is create an INPUT tag there, the
soloution may be more involved, including xsl:attribute elements for NAME,
TYPE, and VALUE as well. (Don't have reference materials with me, so I don't
have exact syntax-that's the idea though.)
=============================================================
John E. Simpson | It's no disgrace t'be poor,
simpson@xxxxxxxxxxx <mailto:simpson@xxxxxxxxxxx> | but it might as
well be.
| -- "Kin" Hubbard
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
<http://www.mulberrytech.com/xsl/xsl-list>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








