Hi guys,

Am 09.02.2012 um 21:52 schrieb Mark Wieder:

> Klaus,
> 
> What Andre said.

Sigh... :-)

> Nonetheless, if you want to continue down the regex path, try
> something like
> 
> get matchText(tText,"(?s)<" & tTag & ">(.*?)</" & tTag & ">",tValue)
> replace "<" & tTag & ">" & tValue </" & tTag & ">" with
>  "<" & tTag & ">" & tNewValue </" & tTag & ">"
>  in tText

well, I did not want to pass the text that I want to overwrite in the XML, 
which I do not now in that moment!
But this is neccesary in Mark's and "zalgo/tony the coming pony"s (????? :-D ) 
scripts.

I only want to pass the XML text, the tagname and the NEW text to be place 
inside of these tags.
Any other hints?

> -- 
> Mark Wieder

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to