You will create a set of document templates that the content authors will use as starting points for creating new Simple Document Framework books and articles.
Each of the Document Type Associations can point to a directory usually named templates containing the file templates. All files found here are considered templates for the respective document type. The template name is taken from the file name, and the template type is detected from the file extension.
oxygen frameworks sdf schema css templates
<?xml version="1.0" encoding="UTF-8"?> <book xmlns="http://www.oxygenxml.com/sample/documentation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:abs="http://www.oxygenxml.com/sample/documentation/abstracts"> <title>Book Template Title</title> <section> <title>Section Title</title> <abs:def/> <para>This content is copyrighted:</para> <table> <header> <td>Company</td> <td>Date</td> </header> <tr> <td/> <td/> </tr> </table> </section> </book>
The Article.xml file:
<?xml version="1.0" encoding="UTF-8"?> <article xmlns="http://www.oxygenxml.com/sample/documentation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <title></title> <section> <title></title> <para></para> <para></para> </section> </article>
You can also use editor variables in the template files' content and they will be expanded when the files are opened.