Subject: Re: [xsl] arguments with " From: "Jonathan Furrer" <xsl-list@xxxxxxxx> Date: Sat, 8 Jun 2002 04:06:10 -0700 |
heres a snippet from some of my code which does what you're looking for :-) <a> <xsl:attribute name="href"> <xsl:text>?page=List+DVD+Videos&col=artists&filter=</xsl:text><xsl:v alue-of select="@id"/> </xsl:attribute> </a> _________________________________________ Jonathan Furrer jonny@xxxxxxxx ----- Original Message ----- From: "Roman Huditsch" <roman.huditsch@xxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Saturday, June 08, 2002 1:39 AM Subject: AW: [xsl] arguments with " > I think that <xsl:text>"</xsl:text> would do. But I am not sure, if that's the real problem... > > wbr, > Roman > > -----Ursprüngliche Nachricht----- > Von: Mark Turanin [mailto:mark.turanin@xxxxxxxxxxx] > Gesendet: Freitag, 7. Juni 2002 22:19 > An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Betreff: > > > I need to find the xsl way to include arguments into a function call of a > link element. Here is what I tried.. > > > <xsl:element name="A"> > <xsl:attribute name="href">#</xsl:attribute> > <xsl:attribute name="onclick">vbscript:OpenWindow3(<xsl:value-of > select="@SSN"/>,<xsl:value-of select="@Plancode"/>)</xsl:attribute> > <xsl:value-of select="@SSN"/> > </xsl:element> > > Here is what I am getting and it is causing errors. > > <a href="#" onclick="vbscript:OpenWindow3(999-99-9999,12345)"> > 999-99-9999 > </a> > > I'm figuring it is because I am not surrounding each argument with "". > However, i can't figure out how to include " in xsl. > > Please help. > > 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 -> |
---|---|---|
AW: [xsl] arguments with ", Roman Huditsch | Thread | [xsl] XSL Including, Joel Konkle-Parker |
Re: [xsl] xslt readability/maintain, Vitaly B. Rudovich | Date | Re: [xsl] •, Greg Martel |
Month |