It works now (blessed be templates!) but still the problem remains.What's wrong with namespaces? I saw that if I try to reach the nodes by the name() and node() functions, they work, but no absolute or relative paths are accepted.So, basically, the question is, how to deal with xmlns?thanks again dude, much appreciated