If you want to create an XML document for which you have some combination of DTD, schema, or stylesheet but do not have a document template , you should provide the paths to these XML metadata files manually.
To call up the
New Document Dialog, choose , or click the
New Document button
on the toolbar, or press
Ctrl-N.
Figure 1. New Document Dialog.

Enter the appropriate XML metadata values manually:
PUBID/SYSID
In the PUBID and SYSID fields, specify the paths to your DTD.
Schema
In the Schema field, specify the path to your Schema. You can use the Browse button.
You can specify an absolute or a relative path to your schema. A relative path may be specified with the $SERNA_DATA_DIR variable that points to the directory where Serna is installed. For example: $SERNA_DATA_DIR/plugins/my-plugin/my-plugin.xsd.
Stylesheet
In the Stylesheet field, specify the path to your stylesheet. You can use the Browse button.
You can specify an absolute or a relative path to your stylesheet. A relative path may be specified with the $SERNA_DATA_DIR variable that points to the directory where Serna is installed. For example: $SERNA_DATA_DIR/plugins/my-plugin/my-plugin.xsl.
Encoding
Select encoding from the Encoding drop-down list.
Figure 2. Specifying metadata details in the New Document Dialog.

In the File Name field, enter the filename. You can use the Browse button to specify the file location.
In the Enter Root Element Dialog, do the following: