Subject: RE: how do I print a variable? From: "Harbarth, Juliane" <jhb@xxxxxxxxxxxxxx> Date: Wed, 4 Aug 1999 10:26:30 +0200 |
> From: Rolande Kendal [mailto:kendal@xxxxxxxxxxxx] > Subject: how do I print a variable? > > How do I set a variable and then print it out? > I would have though the following would set the "x" variable to "3", > and then print "<text x="3"/>" on the next line. > > <xsl:variable name="x" select="3"/> > <text x="{$x}"/> > Yes, it does, i.e. it prints "<text x="3"></text>" for me using XT. If you are, however, transforming into HTML and looking at your result using a browser, you might not see it, since the browser (at least some browsers) ignore tags they don't know (and the respective attributes also). Regards, Juliane. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: how do I print a variable?, David Carlisle | Thread | RE: Parsers for Apache, Marco . Mistroni |
how do I print a variable?, Rolande Kendal | Date | Re: how do I print a variable?, David Carlisle |
Month |