• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2013 Daniel James.
4
5    Distributed under the Boost Software License, Version 1.0.
6    (See accompanying file LICENSE_1_0.txt or copy at
7    http://www.boost.org/LICENSE_1_0.txt)
8-->
9<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
10  "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
11<boostbook id="test" xmlns:xi="http://www.w3.org/2001/XInclude"
12           last-revision="$Date: 2010-10-30 15:29:27 +0100 (Sat, 30 Oct 2010) $"
13           lang="en">
14  <title>Test language attribute</title>
15  <programlisting>plain text</programlisting>
16  <programlisting language="c++">void main() {}</programlisting>
17  <programlisting language="jam">actions something ;</programlisting>
18
19  <para>
20    <code>plain text</code>
21    <code language="c++">void main() {}</code>
22    <code language="jam">actions something ;</code>
23  </para>
24</boostbook>
25
26