Let the IMPORT command handle siblings.
commit757943dbbd4c0ece7738ed111140fd4f90f7b6ab
authorBen Kibbey <bjk@luxsci.net>
Sat, 2 Mar 2013 20:51:05 +0000 (2 15:51 -0500)
committerBen Kibbey <bjk@luxsci.net>
Sat, 2 Mar 2013 20:51:05 +0000 (2 15:51 -0500)
tree1a1a0f20a98824ce8de14ae5cd380afeba896a03
parent2124a48d37f356fe39bd0eafa8a7ea1cbd5fc150
Let the IMPORT command handle siblings.

This works now:

     C> IMPORT --root=some<TAB>path
     S> INQUIRE DATA
     C> <element _name="a"/>
     C> <element _name="b"/>
     C> END

This changes the format of the IMPORT command. Rather using the
inquired data to retrieve the root element, the root element is now
specified with the command:

    IMPORT --root=path

When no --root option is specified the inquired elements are created
at the document root.
src/commands.c
src/common.h