First, how about using the "preview" button instead of posting something totally mangled? That will help you get proper answers.
If you trigger the handler on all name elements, then it will be called on all name elements. You need to specify that you want the handler to be called only for name elements with an attribute att with the proper value. The docs for the handlers will tell you that you can use an XPath expression: name[@att="cde"]. Depending on how you quote that string, you might need to escape the @.
|