[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: HEP
Subject: RE: HEP From: Marco.Mistroni@xxxxxxxxx Date: Thu, 8 Jul 1999 16:53:08 +0300 |
Hi, I copied wrong, the original was like your Right. And an additional problem: instead of abcd I must put an attribute called 'name' When I use substring(./@name <mailto:./@name> ,"a") it doesn't work Thanx anyway Br marco -----Original Message----- From: EXT Niclas Hedhman [mailto:niclas@xxxxxxxxxxxx] Sent: 08. July 1998 9:40 To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: HEP If it is copy/paste from the real thing and not a typo; The closing brace } is after the corresponding closing " Wrong: VALUE="{substring-after("abcd","b")"} /> Right: VALUE="{substring-after("abcd","b")}" /> Isn't computing lovely? Niclas 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")"} /> > > What's wrong in it????? > and how can i do the same thing by giving to the substring function the > name's attribute of a node??? > > <?xml version = "1.0"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" > xmlns="http://www.w3.org/TR/REC-html40" result-ns=""indent-result="yes"> > <xsl:import href="Example3.xsl"/> > <xsl:template match="service"> > <HTML> > <FORM> > > <xsl:apply-templates/> > > <INPUT NAME = "{./@NAME}" TYPE="SUBMIT" VALUE="{./@name}" /> > </FORM> > </HTML> > </xsl:template> > > <xsl:template match="command"> > <xsl:element > <INPUT NAME ="FJKAFJÖASJD" TYPE="SUBMIT" > VALUE="{substring-after("abcd","b")"} /> > </xsl:template> > > <xsl:template match="attribute"> > <INPUT NAME="{./@name}" TYPE="TEXT" VALUE="{./@name}" /> > > </xsl:template> > </xsl:stylesheet> > > Please reply me soon > marco > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: HEP, Michel Goossens | Thread | RE: HEP, Kay Michael |
Re: HTML problem VERY URGENT!!!!!!!, Stephan Rünzler | Date | RE: saxon impressions, Kay Michael |
Month |