From: David <da...@df...> - 2004-02-27 08:29:01
|
Hello, sorry, I forgot that the fs:select tags should not be parsed to one-part tags. So the expression should be $string = preg_replace('|<fs:(?!select)([\w]+)(.*?)>(.*?)</fs:\1>|xsmi', '<fs:$1$2 tagValue="$3" />', $string); - david |