<?xml version="1.0" encoding="UTF-8"?>
<DocSetNodes version="1.0">
    <TOC>
        <Node type="folder">
            <Name>{{projectName}}</Name>
            <Path>{{indexFilename}}</Path>
			<Subnodes>
                {{#hasDocs}}
				<Node type="folder">
					<Name>{{strings.docset.docsTitle}}</Name>
					<Path>{{indexFilename}}</Path>
					<Subnodes>
						{{#docs}}{{>NodeRef}}
						{{/docs}}
					</Subnodes>
				</Node>
				{{/hasDocs}}
				{{#hasClasses}}
				<Node type="folder">
					<Name>{{strings.docset.classesTitle}}</Name>
					<Path>{{indexFilename}}</Path>
					<Subnodes>
						{{#classes}}{{>NodeRef}}
						{{/classes}}
					</Subnodes>
				</Node>
				{{/hasClasses}}
				{{#hasCategories}}
				<Node>
					<Name>{{strings.docset.categoriesTitle}}</Name>
					<Path>{{indexFilename}}</Path>
					<Subnodes>
						{{#categories}}{{>NodeRef}}
						{{/categories}}
					</Subnodes>
				</Node>
				{{/hasCategories}}
                {{#hasProtocols}}
				<Node>
					<Name>{{strings.docset.protocolsTitle}}</Name>
					<Path>{{indexFilename}}</Path>
					<Subnodes>
						{{#protocols}}{{>NodeRef}}
						{{/protocols}}
					</Subnodes>
				</Node>
				{{/hasProtocols}}
                {{#hasConstants}}
				<Node>
					<Name>{{strings.docset.constantsTitle}}</Name>
					<Path>{{indexFilename}}</Path>
					<Subnodes>
						{{#constants}}{{>NodeRef}}
						{{/constants}}
					</Subnodes>
				</Node>
				{{/hasConstants}}
                {{#hasBlocks}}
                <Node>
                    <Name>{{strings.docset.blocksTitle}}</Name>
                    <Path>{{indexFilename}}</Path>
                    <Subnodes>
                        {{#blocks}}{{>NodeRef}}
                        {{/blocks}}
                    </Subnodes>
                </Node>
                {{/hasBlocks}}
			</Subnodes>
        </Node>
    </TOC>
	<Library>
		{{#docs}}{{>Node}}
		{{/docs}}
		{{#classes}}{{>Node}}
		{{/classes}}
		{{#categories}}{{>Node}}
		{{/categories}}
        {{#protocols}}{{>Node}}
		{{/protocols}}
        {{#constants}}{{>Node}}
		{{/constants}}
        {{#blocks}}{{>Node}}
        {{/blocks}}
	</Library>
</DocSetNodes>

Section Node
        <Node id="{{id}}"{{#type}} type="{{type}}"{{/type}}{{#docType}} documentType="{{docType}}"{{/docType}}>
            <Name>{{name}}</Name>
            <Path>{{path}}</Path>
            {{#hasSubNodes}}
                <Subnodes>
                <Node type="section">
                    <Path>{{path}}</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>{{path}}</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>
                {{#hasProperties}}
                <Node type="section">
                    <Path>{{path}}</Path>
                    <Name>Properties</Name>
                    <Anchor>properties</Anchor>
                </Node>
                {{/hasProperties}}
                {{#hasClassMethods}}
                <Node type="section">
                    <Path>{{path}}</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>
                {{/hasClassMethods}}
                {{#hasInstanceMethods}}
                <Node type="section">
                    <Path>{{path}}</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>
                {{/hasInstanceMethods}}
            </Subnodes>
            {{/hasSubNodes}}
        </Node>
EndSection

Section NodeRef
	<NodeRef refid="{{id}}"/>
EndSection