C
craigslist.jg
Basically, I want to do this in Javascript:
I want to convert a string such as:
Cities
New York
Address 1
Address 2
Address 3
Household
John
Lucy
Los Angeles
Address 1
Address 2
Address 3
Household
Mike
Ryan
....and automatically convert this string to XML so I can traverse
through it with any XML methods that may exist.
Is there a quick and easy way to do this?
Thanks!
I want to convert a string such as:
Cities
New York
Address 1
Address 2
Address 3
Household
John
Lucy
Los Angeles
Address 1
Address 2
Address 3
Household
Mike
Ryan
....and automatically convert this string to XML so I can traverse
through it with any XML methods that may exist.
Is there a quick and easy way to do this?
Thanks!