This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Search and Replace in XSLT


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]