hi, i have a xml file like this <detail> <person> <name>kshd</name> <age>22</age> </person> <person> <name>kshdrerewr</name> <age>24</age> </person> </detail> i opened this file using fopen and read some 2KBs into a buffer. what i want to do is i want to set the pointer to "person"(first occurance).