For some reason you need to apply the dbfo at different level to apply properties to an element:
<example>Reference: http://www.sagehill.net/docbookxsl/PageBreaking.html
<?dbfo pgwide="1"?> <!-- example level -->
<title>
Full example
</title>
<programlisting language="csharp">
<?dbfo keep-together="auto" ?> <!-- at programlisting level -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="MyCode.cs" parse="text"/></programlisting>
</example>
Don't ask...
No comments:
Post a Comment