24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Editing Documents | 67The main application for XInclude is in the document-oriented content frameworks such as manuals and Web pages.Employing XInclude enables authors and content managers to manage content in a modular fashion that is akin to ObjectOriented methods used in languages such as Java, C++ or C#.The advantages of modular documentation include: reusable content units, smaller file units that are easier to be edited,better version control and distributed authoring.Include a chapter in an article using XIncludeCreate a chapter file and an article file in the samples folder of the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong>install folder.Chapter file (introduction.xml) looks like this:Getting startedSection titlePara textMain article file looks like this:Install guideThis is the install guide.FIXME: MISSING XINCLUDE CONTENTIn this example the following is of note:• the DOCTYPE Decl. defines an entity that references a file containing the information to add the xi namespace tocertain elements defined by the DocBook DTD;• the href attribute of the xi:include element specifies that the introduction.xml file will replace the xi:includeelement when the document is parsed;• if the introduction.xml file cannot be found, the parser will use the value of the xi:fallback element - a FIXMEmessage.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!