Hopefully I'm asking this question correctly as I'm guessing this will need PHP to achieve.
What I would like to do is return a specific node and all children of XML data via a URL.
example: mydomain.com/myphpfile.php?book_id=1&title="My Book Title"
So by showing the URL above will return the following xml data only
<Books>
<book id="1">
<title>My Book Title</title>
<author>John Doe</author>
<genre>Horror</genre>
<description>Some long text description</description>
</book>
</Books>
This is just an example of XML:
<Books>
<book id="1">
<title>My Book Title</title>
<author>John Doe</author>
<genre>Horror</genre>
<description>Some long text description</description>
</book>
<book id="2">
<title>My Book Title</title>
<author>John Doe</author>
<genre>Comedy</genre>
<description>Some long text description</description>
</book>
etc
</Books>
//book[id=$book_id and title=$title]