Hello, I want to print the name of the root node of an xml document. This doesn't seem to work: fn:name(fn:root(fn:document("docs/xmark.xml"))) Can somebody please tell me what hte problem is? Thanks, Padmapriya