Learn R Programming

RBaseX (version 0.3.0)

Replace: Replace

Description

Replaces a resource with the specified input.

Usage

Replace(session, path, input)

Arguments

session

BasexClient instance-ID

path

Path where to store the data

input

Replacement

Value

A list with two items

  • info Aditional info

  • success A boolean, indicating if the command was completed successfull

Details

This method returns self invisibly, thus making it possible to chain together multiple method calls.

Examples

Run this code
# NOT RUN {
Replace(Session, "test", "<xml>Create test</xml>")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab