This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xslt library usage
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xslt library usage
- From: Bas Alberts <bas dot alberts at group2000 dot nl>
- Date: Fri, 4 May 2001 13:56:56 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks Jim,
But my problem is not getting them, but using/calling them properly.
I took a peek at exslt.org, and applied their method of calling the library,
but that didn't help.
Greetings,
basa@work
-----Original Message-----
From: jim [mailto:cutlass@secure0.com]
Sent: Friday, May 04, 2001 13:42
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] xslt library usage
try http://www.exslt.org also as a place to get some standard functions.
cheers, jim fuller
> Hi all.
>
> I was pointed to the XSLT Standard Library at
http://xsltsl.sourceforge.net/
> where templates are available directly via the XMLNS. For example:
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:str="http://xsltsl.sourceforge.net/string"
> version="1.0">
>
> The synopsis for the String library's SUBST function is:
> <xsl:template name="str:subst">
> <xsl:param name="text"/>
> <xsl:param name="replace"/>
> <xsl:param name="with"/>
> ...
> </xsl:template>
>
> My question is: how should such a template be used? I tried (variations
of)
> the following, with Instant-Saxon 6.2.2:
>
> <xsl:template match="matchXYZ">
> <xsl:call-template name="str:subst">
> <xsl:with-param name="text" select="text()"/>
> <xsl:with-param name="replace" select="'stringA'"/>
> <xsl:with-param name="with" select="'stringB'"/>
> </xsl:call-template>
> </xsl:template>
>
> but was unsuccessful so far. Anyone tried this before?
>
> Greetings,
> basa@work
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list