A
Alan Silver
Hello,
Sorry if this is an obvious question, but I'm not very familiar with
using XmlDocument, and I am struggling with a really simple task. I
couldn't find anything clear that explained what I want to do.
Suppose I have an XmlDocument like this...
<books>
<number>3</number>
<date>13 July 2006</date>
<book>
<title>Fred's big day</title>
<author>Fred Smith</author>
<instock>y</instock>
</book>
<book>
<title>Something else</title>
<author>Someone else</author>
<instock>n</instock>
</book>
<book>
<title>Big book</title>
<author>Small fellow</author>
<instock>y</instock>
</book>
</books>
I would like to list out the titles and authors, with a note as to the
availability...
"Fred's big day" by Fred Smith is in stock
"Something else" by Someone else is NOT in stock
"Big book" by Small fellow is in stock
How do I do this? TIA for any help
Sorry if this is an obvious question, but I'm not very familiar with
using XmlDocument, and I am struggling with a really simple task. I
couldn't find anything clear that explained what I want to do.
Suppose I have an XmlDocument like this...
<books>
<number>3</number>
<date>13 July 2006</date>
<book>
<title>Fred's big day</title>
<author>Fred Smith</author>
<instock>y</instock>
</book>
<book>
<title>Something else</title>
<author>Someone else</author>
<instock>n</instock>
</book>
<book>
<title>Big book</title>
<author>Small fellow</author>
<instock>y</instock>
</book>
</books>
I would like to list out the titles and authors, with a note as to the
availability...
"Fred's big day" by Fred Smith is in stock
"Something else" by Someone else is NOT in stock
"Big book" by Small fellow is in stock
How do I do this? TIA for any help