mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
The implementation is a bit odd, but I was trying to match the existing templates. [SVN r86509]
26 lines
917 B
XML
26 lines
917 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2013 Daniel James.
|
|
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
-->
|
|
<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
|
|
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
|
|
<boostbook id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
last-revision="$Date: 2010-10-30 15:29:27 +0100 (Sat, 30 Oct 2010) $"
|
|
lang="en">
|
|
<title>Test language attribute</title>
|
|
<programlisting>plain text</programlisting>
|
|
<programlisting language="c++">void main() {}</programlisting>
|
|
<programlisting language="jam">actions something ;</programlisting>
|
|
|
|
<para>
|
|
<code>plain text</code>
|
|
<code language="c++">void main() {}</code>
|
|
<code language="jam">actions something ;</code>
|
|
</para>
|
|
</boostbook>
|
|
|