(On close reading I see that "Session$Execute(paste("Create
db", DB_Name, Single_File))" should have been "Session$Execute(paste("Create db", DB_Name, "Single", Single_File))" The "paste() function just concatenates the strings)
Does that solve your problem?
My guess was that the some conventions for specifying input would also be valid for the Sessipn$Create() command. That is still my question?
The BaseX user command CREATE DB differs from the technical CREATE command that’s defined in the server protocol. With the latter one, the optional input must be a (single) XML document. The reason is that the client usually resides on a different system than the server, and specifying a file path wouldn’t work.
Hope this helps Christian