Help with string-replace extension.
Daniel Carrera <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | INGOTs |
| Message-ID | <[email protected]> |
Hello all,
I've been reading the documentation for the string-replace extension.
http://www.exslt.org/str/functions/replace/index.html
I've spent hours looking at it and experimenting, but try as I might, I
can't figure out how to make it work. I've read the howto, the
index.html file, and everything I could find.
An example would be very useful. But all I can find is the template syntax:
<xsl:call-template name="str:replace">
<xsl:with-param name="string" select="string" />
<xsl:with-param name="search" select="object" />
<xsl:with-param name="replace" select="object" />
</xsl:call-template>
And the explanations of what to put in the select attributes hasn't
helped me. For example, I tried this:
<xsl:call-template name="str:replace">
<xsl:with-param name="string" select="." />
<xsl:with-param name="search" select="i" />
<xsl:with-param name="replace" select="XXXXX" />
</xsl:call-template>
This didn't work at all.
I would be grateful if someone could explain to me how to use this
extension.
Cheers,
Daniel.
--
/\/`) http://oooauthors.org
/\/_/ http://opendocumentfellowship.org
/\/_/
\/_/ I am not over-weight, I am under-tall.
/