Have you tried something like...
<@REPLACE STR="@@orders[@@order_row,3]" FINDSTR="<@char CODE='38'>" REPLACESTR="and">
/John
John Shaw wrote:
I would have tried that by now except that the value is coming through without the "&" being replaced with "and."
----- Original Message ----- From: "John McGowan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 11:19 AM
Subject: Re: Witango-Talk: @REPLACE
John,
Although I don't have anything documented about this, we've always had problems using the @@ shortcut notation, and we simply don't do it anymore. I would try writing the same code without it and see if that fixes the problem, plus don't forget that the @replace tag doesn't operate on the STR directly, it takes it as an input and returns the new string. So if you're expecting the value in the orders var to change, you will need to do an @assign in there somewhere.
/John
John Shaw wrote:
Hi all,________________________________________________________________________
This code used to work. After my server died and we moved to another old box, it stopped working. Since we were moving to a new machine, I lived with it thinking it would work on the new machine...it still don't work. I'm using win2k and the most recent Witango.
Ampersands choke XML processing, so this is a real pain in the seat muscle.
<@REPLACE STR="@@orders[@@order_row,3]" FINDSTR="&" REPLACESTR="and">
Thanks, John
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
