XElement hell

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Meyer

    XElement hell

    I'm going through the documentation help about using XElement and I'm
    finding no help with going through the elements as a recordset.

    here's an example of the return results I am getting through ISBNdb.com
    (snipped for brevity):

    <BookList total_results=" 287" page_size="10" page_number="1"
    shown_results=" 10">
    −
    <BookData
    book_id="4_clas sic_american_no vels_the_scarle t_letter_advent ures_of_h"
    isbn="045152777 1">
    −
    <Title>
    4 Classic American Novels: The Scarlet Letter, Adventures of Huckleberry
    Finn, Red Badge of Courage, and Billy Budd
    </Title>
    −
    <TitleLong>
    4 Classic American Novels: The Scarlet Letter, Adventures of Huckleberry
    Finn, Red Badge of Courage, and Billy Budd (Signet Classics (Paperback))
    </TitleLong>
    <AuthorsText>Wi llard Thorp, Herman Melville, </AuthorsText>
    <PublisherTex t publisher_id="s ignet_book">Sig net Book</PublisherText>
    </BookData>
    −
    <BookData book_id="advent ures_of_huckleb erry_finn" isbn="019510140 5">
    <Title>Adventur es of Huckleberry Finn</Title>
    <TitleLong/>
    −
    <AuthorsText>
    Mark Twain; foreword, Shelley Fisher Fishkin; introduction, Toni
    Morrison; afterword, Victor A. Doyno
    </AuthorsText>
    <PublisherTex t publisher_id="o xford_universit y_press">New York : Oxford
    University Press, 1996.</PublisherText>
    </BookData>
    </BookList>

    I want to go through each BookData and return certain fields to a
    datagrid. Anywhere I should start in the documentation?
Working...