J
jimmy
Hi,
I have an XML string that has been returned using a WebRequest object
that i now need extract some data from. Some sample data is shown
below.
<?xml version="1.0" encoding="UTF-8"?>
<ISBNdb server_time="2005-02-25T23:03:41">
<BookList total_results="1" page_size="10" page_number="1"
shown_results="1">
<BookData book_id="somebook" isbn="0123456789">
<Title>Interesting Book</Title>
<TitleLong>Interesting Book: Read it or else..</TitleLong>
<AuthorsText>John Doe</AuthorsText>
<PublisherText>Acme Publishing</PublisherText>
</BookData>
</BookList>
</ISBNdb>
I now need to extract the 'Title', 'AuthorsText' and 'PublisherText'
from it. Can anyone point me in the right direction because all the
samples ive seen are for reading xml files and not a string.
Thanks
James
I have an XML string that has been returned using a WebRequest object
that i now need extract some data from. Some sample data is shown
below.
<?xml version="1.0" encoding="UTF-8"?>
<ISBNdb server_time="2005-02-25T23:03:41">
<BookList total_results="1" page_size="10" page_number="1"
shown_results="1">
<BookData book_id="somebook" isbn="0123456789">
<Title>Interesting Book</Title>
<TitleLong>Interesting Book: Read it or else..</TitleLong>
<AuthorsText>John Doe</AuthorsText>
<PublisherText>Acme Publishing</PublisherText>
</BookData>
</BookList>
</ISBNdb>
I now need to extract the 'Title', 'AuthorsText' and 'PublisherText'
from it. Can anyone point me in the right direction because all the
samples ive seen are for reading xml files and not a string.
Thanks
James