Each XML document requires certain metadata for the editing process, such as a stylesheet and XML schema. There are three ways to specify document metadata: manually, from the Advanced tab in the Open File or New Document dialogs, via the document template, and via Serna processing instructions (PIs), specified in the prolog of the document. Of these, manually specified parameters have the highest precedence, followed by parameters specified in PIs, then template-specified parameters.
<?syntext-serna param="value" ...?>An arbitrary number of parameters can be specified in a single syntext-serna PI.
Serna PIs must be specified BEFORE prolog's and document elements. If these PIs are specified anywhere else, they will be ignored.
These PIs will not take effect if added to an already open document. Reload the document if you added the PI in Serna text mode.
The following parameters are available:
Specifies path to Serna XSL stylesheet for this document. If stylesheet path is relative, it is resolved relative to the document URI. Note that Serna ignores the <?xml-stylesheet href="path"?> PI because it is often oversubscribed and used by other applications.
Specifies XML schema for this document. If the path to the XML schema is relative, it is resolved relative to the document URI.
Specifies position where cursor should stand when this document is opened. This PI is automatically generated by Serna when document is saved.