XML Read innermost element/node
i'm just a newbies in working with XML...
here is my problem i have a sample xml here..
<year>
<january>New Year</january>
<february>
<valentines>
<family>Father</family>
<family>Mother</family>
<family>Sister</family>
<family>Brother</family>
</valentines>
<valentines>
<friends>classmates</friends>
<friends>roommate</friends>
<friends>bestfriend</friends>
</valentines>
</february>
</year>
...and this should be the
output:
This year event:
January: New Year
February:
Valentines
Priority 1 is my Family
1.
Father
2. Mother
3. Brother
4. Sister
Priority 2 is my
friends
1. Classmate
2. Roommate
3. Bestfriend
Please
help me... thanks