[45 min]

Soit les fichiers DITA ci-après.

CTRL+C pour copier, CTRL+V pour coller
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--  wheelbarrow.xml -->
3
<concept id="wheelbarrow" xml:lang="en-us">
4
    <title>Wheel barrow</title>
5
    <conbody>
6
        <p>A good wheel barrow will save your back from extensive trauma when you garden.</p>
7
    </conbody>
8
</concept>
<?xml version="1.0" encoding="utf-8"?>
<!--  wheelbarrow.xml -->
<concept id="wheelbarrow" xml:lang="en-us">
    <title>Wheel barrow</title>
    <conbody>
        <p>A good wheel barrow will save your back from extensive trauma when you garden.</p>
    </conbody>
</concept>
CTRL+C pour copier, CTRL+V pour coller
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--  takinggarbage.xml -->
3
<task id="takinggarbage" xml:lang="en-us">
4
    <title>Taking out the garbage</title>
5
    <taskbody>
6
        <steps>
7
            <step>
8
                <cmd>Find out from the town what day of the week garbage is collected in your
9
                    neighborhood.</cmd>
10
            </step>
11
            <step>
12
                <cmd>The night before collection, place the garbage cans on the curb.</cmd>
13
            </step>
14
            <step>
15
                <cmd>After the garbage has been collected, move the cans back into your
16
                    garage.</cmd>
17
            </step>
18
        </steps>
19
    </taskbody>
20
    <related-links>
21
        <link href="../concepts/lawnmower.xml" format="dita" type="concept"
22
                ><linktext>Lawnmower</linktext></link>
23
    </related-links>
24
</task>
<?xml version="1.0" encoding="utf-8"?>
<!--  takinggarbage.xml -->
<task id="takinggarbage" xml:lang="en-us">
    <title>Taking out the garbage</title>
    <taskbody>
        <steps>
            <step>
                <cmd>Find out from the town what day of the week garbage is collected in your
                    neighborhood.</cmd>
            </step>
            <step>
                <cmd>The night before collection, place the garbage cans on the curb.</cmd>
            </step>
            <step>
                <cmd>After the garbage has been collected, move the cans back into your
                    garage.</cmd>
            </step>
        </steps>
    </taskbody>
    <related-links>
        <link href="../concepts/lawnmower.xml" format="dita" type="concept"
                ><linktext>Lawnmower</linktext></link>
    </related-links>
</task>

Question

En utilisant Oxygen, produire une XSLT qui permet de publier en PDF via FO le fichier de type concept.

Indice

Indice

Question

Traiter de la même façon le fichier de type task.