Nightmarish, valid Error: [XPTY0004] Single item expected, (element x { … }, element x { … }, …) found
问题 In my most recent attempt to access the XML database from my nightmares, I've come very close. I actually succeeded, using the test database; however, when I apply it to the database I'm actually trying to access, rather than the BaseX sample database, I get a special brand of error, which is a valid complaint about the XML file: via http://basex.org/products/live-demo/ doc('test') := <item> <item_number>1171270</item_number> <seller_info> <seller_company_id>6356</seller_company_id> <seller