Hi, If I store the entry into a file, and then another application wants to pick up the entry and use gdata to access the attributes/elements in the entry, what's the proper way?
Sample entry: <?xml version='1.0' encoding='UTF-8'?> <atom:entry xmlns:atom='http://www.w3.org/2005/Atom' xmlns:gm='http:// base.google.com/ns-metadata/1.0' xmlns:g='http://base.google.com/ns/ 1.0' xmlns:media='http://search.yahoo.com/mrss/' xmlns:batch='http:// schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/ 2005'> <atom:id>http://www.google.com/base/feeds/snippets/ 6333109279929902391</atom:id> <atom:published>2010-04-15T14:31:13.000Z</atom:published> <atom:updated>2010-07-10T15:30:43.000Z</atom:updated> <atom:category scheme='http://base.google.com/categories/itemtypes' term='Housing'/> <atom:title type='text'>Single Family - 4 bedrooms, 5 baths in ALAMO, CA</atom:title> <atom:content type='html'>"Magnificent Westside Tuscan villa on flat . 6 acre lot. Bonus/media room, beautiful cherry paneled office, wine cellar, loft.Stunning kit opens to lrg family room.Designer features throughout; Venetian marble,travertine/limestone, distressed hrdwd ...</atom:content> <atom:link rel='alternate' type='text/html' href='http:// www.rockcliff.com/Search/PropDetail.aspx?listingID=12-1-40461274&pso=listPrice%20DESC'/> <atom:link rel='self' type='application/atom+xml' href='http:// www.google.com/base/feeds/snippets/6333109279929902391'/> <atom:author> <atom:name>J. Rockcliff Realtors</atom:name> </atom:author> <g:property_style type='text'>Mediterranean</g:property_style> <g:has_pool type='boolean'>true</g:has_pool> <g:location type='location'>199 LA COLINA DR,ALAMO,CA,94507,USA</ g:location> <g:garage_spaces type='text'>2 or more</g:garage_spaces> <g:bathrooms type='float'>5.5</g:bathrooms> <g:mls_name type='text'>MAX/EBRD</g:mls_name> <g:has_fireplace type='boolean'>true</g:has_fireplace> <g:item_language type='text'>EN</g:item_language> <g:id type='text'>1240461274</g:id> <g:area type='floatUnit'>5880.0 square ft.</g:area> <g:target_country type='text'>US</g:target_country> <g:mls_listing_id type='text'>40461274</g:mls_listing_id> <g:agent_email type='text'>[email protected]</g:agent_email> <g:year type='int'>2006</g:year> <g:bank_owned type='boolean'>false</g:bank_owned> <g:office_phone type='text'>(925) 6485300</g:office_phone> <g:agent_phone type='text'>(925) 2093451</g:agent_phone> <g:item_type type='text'>Housing</g:item_type> <g:listing_type type='text'>for sale</g:listing_type> <g:listing_status type='text'>active</g:listing_status> <g:bedrooms type='int'>4</g:bedrooms> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463314.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463316.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463311.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463441.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463313.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463442.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463315.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463312.jpg</g:image_link> <g:image_link type='url'>http://www.rockcliff.com/mlsphotos/ 12/1/74/2463317.jpg</g:image_link> <g:agent type='text'>Peggy Cortez</g:agent><g:provider_class type='text'>aggregator</g:provider_class> <g:virtual_tour_url type='url'>http://www.tourfactory.com/597339</ g:virtual_tour_url> <g:property_type type='text'>single family</g:property_type> <g:price type='floatUnit'>3498000.0 usd</g:price> <g:stories type='int'>2</g:stories> <g:lot_size type='floatUnit'>0.55 acres</g:lot_size> <g:expiration_date type='dateTime'>2010-07-24T15:30:43Z</ g:expiration_date> <g:broker type='text'>J. Rockcliff Realtors</g:broker> <g:school_district type='text'>San Ramon Valley Unified</ g:school_district> <g:customer_id type='int'>5858085</g:customer_id> </atom:entry> Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-base-data-api?hl=en.
