source: BOOK/testpart.xml @ 4fe47e3

Last change on this file since 4fe47e3 was 4fe47e3, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Add the initial changes for a new xml format for the packages part
of the book. This is still preliminary and currently is pretty
broken, more to come in the future as bugs get squashed.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "general.ent">
5  %general-entities;
6]>
7
8  <part id="part0" xmlns:c="http://schema.cross-lfs.org/book">
9    <?dbhtml filename="part0.html"?>
10    <title>Test Part</title>
11
12    <chapter>
13      <?dbhtml dir="chapter0"?>
14      <?dbhtml filename="chapter0.html"?>
15      <title>Chapter 0</title>
16
17      <sect1>
18        <?dbhtml filename="sect0.html"?>
19        <title>Sect 0</title>
20        <para>Testing... 1.. 2.. 3..</para>
21      </sect1>
22
23      <c:package id="blah" c:multibuild="false">
24        <sect1>
25          <title>Blah</title>
26
27          <para>Testing... 1.. 2.. 3..</para>
28
29        </sect1>
30      </c:package>
31
32      <c:package id="blarg" c:multibuild="true">
33        <sect1>
34          <title>Blarg
35            <phrase c:multilib="true">
36              <phrase c:bits="32"> - 32Bit</phrase>
37              <phrase c:bits="n32"> - N32</phrase>
38              <phrase c:bits="64"> - 64Bit</phrase>
39            </phrase>
40          </title>
41
42          <para>Testing... 1.. 2.. 3..</para>
43
44          <para c:bits="32,n32">Only 32,N32</para>
45
46<screen c:bits="32"><userinput>echo 32bit Build</userinput></screen>
47
48          <para c:bits="64">Only 64</para>
49
50<screen c:bits="64"><userinput>echo 64bit Build</userinput></screen>
51
52          <sect2>
53            <title>Hi There</title>
54
55            <para>You should always see me</para>
56
57            <para c:bits="32" c:multilib="true">You will only see me on multilib 32bit</para>
58          </sect2>
59
60        </sect1>
61      </c:package>
62
63    </chapter>
64
65  </part>
Note: See TracBrowser for help on using the repository browser.