This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Search and Replace in XSLT
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Search and Replace in XSLT
- From: Ben Robb <Ben at cscape dot com>
- Date: Fri, 11 Aug 2000 11:45:41 +0100
- Reply-To: xsl-list at mulberrytech dot com
David Carlise wrote:
> <xsl:template match="img">
> <img src="{@src}" />
> <xsl:element name="translate(@alt,'[]','')"/>
> </xsl:template>
And just to be picky - make sure that you put in curly brackets to make it
an attribute value template...
Ben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list