Yes, I forgot to mention. What I added myself is this declaration:
Code:
<xsl:variable name="person" select="/person_list/person"/>
Thanks for the page listed for reference, actually I am already familiar with all the information at w3schools on the subject (XML, XSL, XPath), and what I find hard to figure out is what I ask here.
I know that this example is suitable for the particular case:
but what I want is to check whether $person[@name] contains the parameter $name. Unfortunately, I get an error saying that I am giving an xs:boolean where a node() is expected.