[xquery-talk] Printing name of root node of an xml document
mrys at microsoft.com
Sun Jan 9 00:08:38 PST 2005
Root() returns the document node that has no name. Do you want the
top-level node? Say name((fn:root(...)/*)) instead.
> -----Original Message-----
> From: talk-bounces at xquery.com [mailto:talk-bounces at xquery.com] On
> Of padmapriya ayyagari
> Sent: Saturday, January 08, 2005 11:39 PM
> To: talk at xquery.com
> Subject: [xquery-talk] Printing name of root node of an xml document
> I want to print the name of the root node of an xml document. This
> doesn't seem to work:
> Can somebody please tell me what hte problem is?
> talk at xquery.com
More information about the talk