Search function for Flash using XML

Hey guys just wanted to see if anyone on here could help me, Does anyone know of a tutorial or example that could help me figure out how I could get a user to input a course code into a textbox and then search for the same course code in a corresponding XML and print ChildNodes that have the courses duration, points required, course name etc. anything similar to this would be a major help!, thanks alot!