A newbie question: how to put a ready XML document into a container -
11-17-2005
, 12:26 AM
Hi, I am at a loss how to put a ready whole XML document (created by
Stylus Studio) into a container.
Sleepycat says "If you are using an XmlDocument object to add the
document, use XmlDocument::setName() to set the document's name.
Otherwise, you can set the name directly on the call to
XmlContainer:utDocument(). "
Re: A newbie question: how to put a ready XML document into a container -
11-17-2005
, 12:42 AM
Hi Sam,
It is pretty simple and straight forward.
You can do some thing like
myContainer.putDocument(docName, theStream, updateContext);
or
myContainer.putDocument(docName, docStringContent, updateContext);