Welcome to openkapow Sign in | Join
in Search
.

(Another) silly XML output question

Last post 07-31-2008, 8:04 AM by danish. 3 replies.
Sort Posts: Previous Next
  •  05-20-2007, 3:48 PM 10393

    (Another) silly XML output question

    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


     

    Filed under: ,
  •  05-20-2007, 11:38 PM 10396 in reply to 10393

    Re: (Another) silly XML output question

    In output object tab use "groupName:". field. That's it.
  •  05-21-2007, 7:11 AM 10410 in reply to 10396

    Re: (Another) silly XML output question

    Great. Thanks.
  •  07-31-2008, 8:04 AM 20618 in reply to 10396

    Re: (Another) silly XML output question

    Can you make a concrete example, please?

    Thanks,

    danish
     

View as RSS news feed in XML
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy