ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved