demo xml file
<books>
<book>
<title>My Book</title>
<author>
<name>Mr. McGillicuddy</name>
<dob>01.01.1901</dob>
<city>Falafel</city>
</author>
</book>
</books>
Im trying to search the books and find the name
of the authors that match the $keyword parameter.
<xsl:for-each select="//books[.=$keyword]">
this doesnt work, any ideas?
<books>
<book>
<title>My Book</title>
<author>
<name>Mr. McGillicuddy</name>
<dob>01.01.1901</dob>
<city>Falafel</city>
</author>
</book>
</books>
Im trying to search the books and find the name
of the authors that match the $keyword parameter.
<xsl:for-each select="//books[.=$keyword]">
this doesnt work, any ideas?