srinsriram
4/6/2007 5:57:00 PM
On Apr 6, 1:43 pm, Alex Young <a...@blackkettle.org> wrote:
> Alex Young wrote:
> > srinsri...@gmail.com wrote:
> >> Here is a simple test case
>
> >> s = <VariableValue>\nXXX\n</VariableValue>\n\n<VariableValue>
> >> \n<Choice> Administrative Support - Supervisors<Choice>\n</
> >> VariableValue>\n\n"
> > If it's actually XML, just use REXML. Anything else is asking for
> > trouble, really.
>
> Sorry, I didn't notice that your <Choice> tags aren't matched. Is that
> intentional? If so, ignore my suggestion - REXML clearly won't work.
>
> --
> Alex
the content can be quite nonstandard and have mismatched tags etc
(like real life html).. so this is not xml
I will use rexml when the input is xml.. thanks for your suggestion.
this group is very useful for newbies.