XmlModify::addInsertAfterStep |
#include <DbXml.hpp>void XmlModify::addInsertAfterStep(const XmlQueryExpression &selectionExpr, XmlObject type, const std::string &name, const std::string &content)
void XmlModify::addInsertAfterStep(const XmlQueryExpression &selectionExpr, XmlObject type, const std::string &name, XmlResults &content)
Inserts the provided data into the document after the selected node. If the operation's target is an attribute node or the document root node, an exception is thrown at modification execution time.
If the content to be added is an attribute, the content is added to the targeted node's parent node. For any other type of content, the content is inserted into the document immediately after the targeted node's end tag, as its next sibling.
Documents resulting from this modification must be well-formed XML or an exception is thrown at modification execution time, if the documents affected are written back to their respective containers.Copyright (c) 1996,2007 Oracle. All rights reserved.