powered by
Adds a new resource to the opened database.
Add(session, path, input)
BasexClient instance-ID
Path
Additional input (optional).
A list with two items
info Aditional info
success Boolean, indicating if the command was completed successfull
The 'input' can be a length-1 character vector or a stream. The utility-function input_to_raw can be used to convert a file or an URL to a stream.
# NOT RUN { Add(Session, "test", "<xml>Add</xml>") # } # NOT RUN { # }
Run the code above in your browser using DataLab