Documentation

The primary example of content that can be stored in a fragment for use between documents is standard textual documentation. In the following example, the content of the second paragraph of the first section is contained in a separate fragment:

document.xml

<!-- Section 1 -->
<section name="section1">
    <title>Fragments</title>
    
    <p>This text is included in my core document.</p>
    <include src="fragment1.xml"/>
</section>

fragment1.xml

<?xml version="1.0" encoding="utf-8"?>
<fragment xmlns="http://resources.qdexapps.com/schema/v1/QDocument.xsd">

    <p>This is in my first fragment</p>

</fragment>

which results in the following app after parsing.

included-fragment.jpg