[bdbxml] Query to retrieve all container content?

"Antony Grinyer" <antony.grinyer-TjPRh57ScDpaa/[email protected]> Sat, 6 Aug 2005 13:03:51 +0100
Newsgroups gmane.comp.db.dbxml.general
Message-ID <989E1989F3130042879B902D1758421612D5A0@msxmigration.cswgroup.local>
Can anyone tell me if there's a generic XQuery that will return me all
the XML content in a container without having to specify element names?
 
e.g. collection('sample.dbxml')// (doesn't work)
 
I could use a FLWOR expressions such as:
 
for $i in collection('Sample.bdbxml')/publication return $i
 
but I don't want to have to supply the /publication element. This is
because we may not know what the XML document structures are in the
container.
 
Thanks,
Ant