Naming Files

Berkeley DB XML does not require names for the files stored in containers, nor do those names have to be unique. Berkeley DB XML does, however, assign a unique ID number to each file when it is first saved to the container.

Stylus Studio creates a unique pseudo-name for each named file in a container. Files without a name are invisible to Stylus Studio. The pseudo-name consists of the file's name, concatenated with a pound sign (#) and the file ID assigned by Berkeley DB XML.

Example

Consider the following files in a container as seen by Berkeley DB XML:

  • flotsam.xml
  • flotsam.xml
  • jetsam.xml
  • [a file without a name]

When you display this container in the Stylus Studio Open dialog box, only these files appear:

  • flotsam#1.xml
  • flotsam#2.xml
  • jetsam.xml

Note that only duplicate file names are assigned a numeric ID. The fourth, unnamed, file, is not visible to Stylus Studio.

 
Free Stylus Studio XML Training: