summaryrefslogtreecommitdiff
path: root/tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml')
-rw-r--r--tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml b/tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml
new file mode 100644
index 000000000..e5891b43d
--- /dev/null
+++ b/tools/boostbook/test/more/tests/syntax-highlight/language-attribute.xml
@@ -0,0 +1,25 @@
+<?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>
+