1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>BoostBook element code</title> 6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> 9<link rel="up" href="../../reference.html" title="Reference"> 10<link rel="prev" href="static-constant.html" title="BoostBook element static-constant"> 11<link rel="next" href="destructor.html" title="BoostBook element destructor"> 12</head> 13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 14<table cellpadding="2" width="100%"><tr> 15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 16<td align="center"><a href="../../../../index.html">Home</a></td> 17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 20<td align="center"><a href="../../../../more/index.htm">More</a></td> 21</tr></table> 22<hr> 23<div class="spirit-nav"> 24<a accesskey="p" href="static-constant.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="destructor.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="refentry"> 27<a name="boostbook.dtd.code"></a><div class="titlepage"></div> 28<div class="refnamediv"> 29<h2><span class="refentrytitle"> 30 BoostBook element <code class="sgmltag-element">code</code></span></h2> 31<p>code — Mimics the <code class="sgmltag-element">code</code> tag in HTML</p> 32</div> 33<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> 34<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">code ::= 35 (ANY) 36</div> 37<div class="refsection"> 38<a name="id-1.4.3.7.8.4"></a><h2>Description</h2> 39<p>Text within a <code class="sgmltag-element">code</code> tag is generally typeset 40 in a different, monospaced font so that it stands out as code. The 41 <code class="sgmltag-element">code</code> tag in BoostBook is transformed directly 42 into the <code class="sgmltag-element">computeroutput</code> tag in DocBook.</p> 43</div> 44<div class="refsection"> 45<a name="id-1.4.3.7.8.5"></a><h2>Attributes</h2> 46<div class="informaltable"><table class="table"> 47<colgroup> 48<col> 49<col> 50<col> 51<col> 52</colgroup> 53<thead><tr> 54<th>Name</th> 55<th>Type</th> 56<th>Value</th> 57<th>Purpose</th> 58</tr></thead> 59<tbody> 60<tr> 61<td>last-revision</td> 62<td>#IMPLIED</td> 63<td>CDATA</td> 64<td>Set to $Date$ to keep "last revised" information in sync with CVS changes</td> 65</tr> 66<tr> 67<td>id</td> 68<td>#IMPLIED</td> 69<td>CDATA</td> 70<td>A global identifier for this element</td> 71</tr> 72<tr> 73<td>xml:base</td> 74<td>#IMPLIED</td> 75<td>CDATA</td> 76<td>Implementation detail used by XIncludes</td> 77</tr> 78</tbody> 79</table></div> 80</div> 81</div> 82<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 83<td align="left"></td> 84<td align="right"><div class="copyright-footer">Copyright © 2003-2005 Douglas Gregor<p>Distributed under the Boost Software License, Version 1.0. 85 (See accompanying file LICENSE_1_0.txt or copy at 86 <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>). 87 </p> 88</div></td> 89</tr></table> 90<hr> 91<div class="spirit-nav"> 92<a accesskey="p" href="static-constant.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="destructor.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 93</div> 94</body> 95</html> 96