Hello everyone
I have a pretty hard question. I have a little wrong xml file and I have to interrogate it or correct it. I can't do it manually so I could use some help into one of the options.
it looks like this
<root>
<rot>
<literal>eat
<sense>3</sense>
</literal>
</rot>
........//multiple rots like this
</root>
What I want to do is either correct the xml with something like:
<literal l="eat"><sense>3</sense></literal>
or just interrogate the "bad xml and extract the words like "eat" from there. I tried in C# with Linq to use Contains. But it extracts all words containing eat from the xml and there are alot.
I mention the xml has 9000 entries now("rot"/s) and I want to add more to it...it will have @40k entries.
Can you help?
I have a pretty hard question. I have a little wrong xml file and I have to interrogate it or correct it. I can't do it manually so I could use some help into one of the options.
it looks like this
<root>
<rot>
<literal>eat
<sense>3</sense>
</literal>
</rot>
........//multiple rots like this
</root>
What I want to do is either correct the xml with something like:
<literal l="eat"><sense>3</sense></literal>
or just interrogate the "bad xml and extract the words like "eat" from there. I tried in C# with Linq to use Contains. But it extracts all words containing eat from the xml and there are alot.
I mention the xml has 9000 entries now("rot"/s) and I want to add more to it...it will have @40k entries.
Can you help?