Home > Online Product Documentation > Table of Contents > Saving a File Back to Berkeley DB XML Saving a File Back to Berkeley DB XMLYou save a file to Berkeley DB XML as you would save a file to any other file system - click File > Save. If the document is not well-formed, Berkeley DB XML will not write it to the container.
Saving and ContainersBy default, File > Save saves the file back to the same container from which it was read. Additionally, you can
In any case, in order to save any work back to Berkeley DB XML, you must have previously configured the BerkeleyDBXML.xml file. See Configuring the BerkeleyDBXML.xml File. Validating Documents
If you are using Berkeley DB XML Version 2.0.7 or 2.0.9, you can optionally have Sleepycat validate XML documents before saving them to the database. You do this using the
The syntax for the
Validation occurs at the container level; each container, specified as a node in the
BerkeleyDBXML.xml file, can have its own settings for the
Here, the
Schema requirementsIn order for Sleepycat to validate an XML document, the XML document must have its schema defined in an internal DTD. If the document does not contain a DTD, or references an external XML Schema, the document is not validated and will be saved if it is well-formed. Changing settings
Each time Stylus Studio starts, it reads the
BerkeleyDBXML.xml configuration file and uses its settings for the entire session. If you want to change the
|