cookbook: Remove the note about indenting <xi:include>

It's not necessary now to special case the indentation of includes as
the XSLT for the cookbook strips leading and trailing space automaticaly
for us.
This commit is contained in:
Damien Lespiau 2010-08-06 12:30:06 +01:00
parent 4f5ab7d010
commit 86c3be550e

View File

@ -243,22 +243,15 @@ fooing_barring_SOURCE = fooing-barring.c
<example id="fooing-barring-example"> <example id="fooing-barring-example">
<title>Fooing with a bar</title> <title>Fooing with a bar</title>
<programlisting> <programlisting>
<xi:include href="examples/fooing-barring.c" parse="text"> <xi:include href="examples/fooing-barring.c" parse="text">
<xi:fallback>a code sample should be here... but isn't</xi:fallback> <xi:fallback>a code sample should be here... but isn't</xi:fallback>
</xi:include> </xi:include>
</programlisting> </programlisting>
</example> </example>
</section> </section>
]]> ]]>
</programlisting> </programlisting>
</informalexample> </informalexample>
<note>
<para>The <code>&lt;xi:include&gt;</code> element
should be aligned to the left-hand margin of the text
(no whitespace on the line before it), to prevent any
stray whitespace appearing in the program listing.</para>
</note>
</listitem> </listitem>
</itemizedlist> </itemizedlist>