replace template rule (Attachment removed)
<[email protected]> Thu, 8 May 2008 10:19:35 +0200
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
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
_______________________________________________
exslt mailing list
[email protected]
http://www.exslt.org/list
(unnamed)
(text/plain charset="iso-8859-1", 394 B)
Message from Fortis Bank Postmaster engine. We received a mail for you which contains a forbidden attachment. The name of the attachment is... <***BISCREATEAREAS.ZIP***> Due to security measures taken in relation with recent virus attacks this attachment was intentionally removed. THE ZIP FILE CONTAINED A SUSPICIOUS ATTACHMENT NAMED : <***BisCreateAreas/EXE/fimSHABUpload_V4_bus.exe***>