[exslt] replace template rule (Attachment removed)
RONNY.DEDECKER at fortisinvestments.com
RONNY.DEDECKER at fortisinvestments.com
Thu May 8 02:19:35 MDT 2008
Hi,
I have been using C# and XSLT intensively to Upload Files and create
areas in Sharepoint
So I dare to ask
Did you instead of
<xsl:call-template name="str:replace">
<xsl:with-param name="string" select="..." />
<xsl:with-param name="search"
select="$replacements/replacement/@search" />
<xsl:with-param name="replace"
select="$replacements/replacement" />
</xsl:call-template>
Try
<xsl:variable name="string" select="..." />
<xsl:variable name="search"
select="$replacements/replacement/@search" />
<xsl:variable name="replace"
select="$replacements/replacement" />
and then
<xsl:value-of "str:replace( $string, $search,$replace )">
I do this all the time with functions I made in C#, and which I use in
XSLT
- I include a real working example ( if you set the parameters of
pasword etc right )
I can guarantee the coding is correct
Launch the launch_AREAS_CREATE.cmd this calls the program
.\EXE\fimSHABUpload_V4_bus.exe
- This program contains the classes used by the XSLT namely : Fim Caml
- The XSLT is launched by the program and XSLT calls back to the Classes
using xsl:value of
- You can even make counters using C# or wathever languege
- The same way XpathNodeIterator can be used to convert a string to a
Node-set
I hope this is some help for you, and gives you insight in the
possibilities
Hope to hear you soon, and give me some feedback.
I would like to know if this was of any use to You.
Even if it is garbage, just tell me <<BisCreateAreas.zip>>
Ronny De Decker
Fortis Investments
Sr. Application Programmer
tel : +32 (0)2 274 83 49
Avenue de l'Astronomie 14
1210 Brussel
Belgium
Fortis Investment Management N.V./S.A.
Brussels RPM/RPR 0462 748 891
ronny.dedecker at fortisinvestments.com
http://www.fortisinvestments.com
This e-mail is confidential and may be privileged. If you have received
it by mistake, please notify the sender by return e-mail and delete it
from your system. You should not disclose, copy or use it for any
purpose. The information in this e-mail is not contractual. Fortis
Investments provides no guarantee as to the correctness of this
information and accepts no responsibility for any action taken on the
basis of it. Fortis Investments is the trade name for all entities
within the Fortis Investment Management group.
P Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fourthought.com/pipermail/exslt/attachments/20080508/365f70ed/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/plain
charset="iso-8859-1"
Size: 394 bytes
Desc: not available
URL: <http://lists.fourthought.com/pipermail/exslt/attachments/20080508/365f70ed/attachment.bin>
More information about the exslt
mailing list