I probably should be able to puzzle this one out myself, but I'm stumped. I have a bot that is set to scrape information from a page and turn it into XML. You can get it here: http://openkapow.com/files/folders/business_productivity/entry10380.aspx
It looks great, except for one pretty obvious problem. I'd like to have an entire entry -- every tag from "date" through "address" -- appear within another tag, something like this:
<markers>
<Event>
<Date>5/20/07 1:55:44 PM</Date>
<Type>NOISE</Type>
<Decription>NOISE DISTURB</Decription>
<Result>HANDLED BY OFFICER</Result>
<Address>2021 S JEFFERSON AVE Springfield, MO</Address>
</Event>
<Event>
<Date>5/20/07 1:57:28 PM</Date>
<Type>SHOP</Type>
<Decription>SHOPLIFTING - CUSTOD</Decription>
<Result>HANDLED BY OFFICER</Result>
<Address>2422 W DIVISION ST Springfield, MO</Address>
</Event>
</markers>
I've been poring over other bots enough to know this shouldn't be hard, but I'm stumped. Any advice would be great. Thanks a lot.
-Matt