I have buldloaded a collection of 10.000 XML files into MonetDB like this:
for $d in doc("/monetdbfiles.xml")//docNow the XML files have missing element names and look like this in MonetDB:
return
pf:add-doc(fn:concat($d/@path,$d/@name), fn:string($d/@name), "abap10k", 0)
<>
<AST>
< type="compound" line="1" id="1">
< type="stmt" line="1" id="2"/>
< type="stmt" line="5" id="3">
< type="clause" line="5" id="4">
< type="idf" line="5" id="5"/>
</>