JAXP. How to get key by keyref value

Sunday, July 6, 2014

I have xml file like this:



<Student CourseTitle="Course1"/>

<Course CourseTitle="Course1" Duration="10"/>


Where CourseTitle in Course tag is key. CourseTitle in Student is keyref. How can I parse this XML document and get Student's course with all attributes in Course tag? Using JAXP? Thanks and sorry for my bad English.







http://ift.tt/1xAtPqI