I would recommend downloading the trial version of the Oxygen XML editor and using it. Its not a team founded, though ... Not too sure what you are using as a development environment, but if you need a good XQuery library, I would recommend Saxon libraries, which, in my opinion, come in many flavors. I know there is a .NET library.
source share