in reply to Reading B/w Tags
I suggest you use an XML module (perhaps one listed here or here), rather than try to roll your own, for much the same reasons that you would be better off using an HTML parser to handle HTML than trying to make do using regexes.
HTH,
|
|---|