Re: [exslt] Abt Libxslt use in replace function
by James Fuller other posts by this author
Sep 19 2006 12:51AM messages near this date
Re: [exslt] Abt Libxslt use in replace function
|
[exslt] installation
& XSLT James Fuller wrote:
> bhushan wrote:
>
> > i have used str:replace in my xsl file
> > this my XSL file
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <xsl:stylesheet version="1.0" xmlns:xsl="
> > http://www.w3.org/1999/XSL/Transform"
> > xmlns:idmef="http://iana.org/idmef" xmlns:str="http://exslt.org/strings"
> > extension-element-prefixes="str">
> > <xsl:import href="replace.xsl" />
> > <xsl:variable name="color"
> > select="idmef:IDMEF-Message/idmef:Alert/idmef:Analyzer/idmef:Node/idmef:name"/>
> >
> > <xsl:variable name="color1" select="'a'" />
> > <xsl:variable name="color2" select="'e'" />
> > <xsl:template match="/" >
> > <xsl:call-template name="str:replace">
> > <xsl:with-param name="string" select="color"/>
perhaps this should be $color as well, which most likely solves your problem
hth, Jim Fuller
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Bhushan
James Fuller
James Fuller
|