OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [docbook] Article with Parts


I need to create a "Terms of Use" documentthat consists of three parts... I'm trying to create an article like this:

<!DOCTYPE article [
  ..
]>
<article xmlns="http://docbook.org/ns/docbook"; version="5.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://docbook.org/ns/docbook http://docbook.org/xml/5.0/xsd/docbook.xsd";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xml:lang="en-US"
  xml:id="terms-of-use">
<info>
  <title>Terms of Use</title>
  <copyright>
    <year>2015</year>
    <holder>My Company, Inc.</holder>
  </copyright>
  <legalnotice>blah blah blah</legalnotice>
  <date>October 16, 2015</date>
  <releaseinfo>1.0</releaseinfo>
</info>
<part label="I">
  <title>Title Part One</title>
  <xi:include href="part-1/file-1.xml"/>
  <xi:include href="part-1/file-1.xml"/>
  <xi:include href="part-1/file-N.xml"/>
</part>
<part label="II">
  <title>Title Part Two</title>
  <xi:include href="part-2/file-1.xml"/>
  <xi:include href="part-2/file-1.xml"/>
  <xi:include href="part-2/file-N.xml"/>
</part>
</article>

The document above doesn't work because I guess it doesn't comply with the schema... Is there any helpful example that shows how to create an article with parts?

Tx,
j3d


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]