Hello all.

What's the best approach to parsing out the data between xml tags in a series.

eg:

<thexml>
<tag1> 
This is some string <tag2> with embedded tags </tag2> and another <tag3> with this 
string, </tag3>
ending with this string.</tag1>
</thexml>

so that we get...

thexml: [
tag1    "This is some string"
tag2    "with embedded tags"
tag1    "and another"
tag3    "with this string"
tag1    "ending with this string."
]

Where: The tag is converted to a word and the contents into a string

BUT... where the tag names are unknown, just that they are tags.

Thanks

Terry Brownell
www.lfred.com

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to