I was wondering how to digest content that contains additional
elements.
For example, I have two tags "text" and "date". I want to parse
the following:
<text>I want to remember this date, <date/>, forever!</text>
Ultimately I want to end up with three objects as follows
(I hope you get what I am inferring below):
MyText("I want to remember this date, ");
MyDate();
MyText(", forever!");
Granted, it would be easy enough to do:
<text>I want to remember this date, </text><date/><text>, forever!</text>
But, I prefer to do the first way.
Thank You,
Bob Byron
|