I don't really understand the difference between the XPath functions name and local-name.
Could you give an example of a situation where they would differ?
Edit
Given this example:
<?xml version="1.0" ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head></head>
</html>
I get the same result with these two queries: //*[local-name()="head"] and //*[name()="head"]. Why is that?