Subject: Re: dynamic string
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 18 Jan 2000 18:12:31 +0100
|
<xsl:template match="param">
<xsl:value-of select="@name"/>
</xsl:template>
Should do it !
Eric
Marco.Mistroni@xxxxxxxxx wrote:
>
> hi all,
> i have the following problem: i have an XML file with some tags
> like (ignore errors, i did not put quotes...)
> <param name=foo>
> <param name=blah>
> <param name=www>
>
> in the XSL file i need an instruction so that every time the XSL processor
> encounter a <param > element, it grasp the value of the name attribute and
> add it to the same string...
> what i mean is that, if the file is the one above, after the XSL processor
> 'parses'(sorry, it is not the right term) the file, the string at the end
> must be
> "fooblahwww"
>
> is it possible to do something like this in XSL??
> please reply me soon
> regards
> marco
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea
http://www.dyomedea.com http://www.ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|