I need a way to search through an XML String and return an array containing the "record" elements that meet multiple search criteria.
The structure is this:
<record>
<project_name>Deploy Document Management</project_name>
<project_phase>Design</porject_phase>
<status>Not Started</status>
<priority>Medium</priority>
</record>
<record>
<project_name>Do Something Else</project_name>
<project_phase>Design</porject_phase>
<status>Not Started</status>
<priority>Medium</priority>
</record>
If I wanted to return an array of "records" where status="Not Started" and priority = "Medium".... how would I do so using javascript or JQuery?
To be clear, I need the whole record for each record that matches the criteria.
Thanks in advance.