Next Up Previous Contents
Next: C.1.14 Element codecollection
Up: C.1 Element listing
Previous: C.1.12 Element cite
[ID index][Keyword index]

C.1.13 Element code

C.1.13.1 Description

Include `computer text'. This does not do any escaping of the enclosed text: if there are any characters which might be special to the SGML parser, then they should be escaped either with an entity reference (that is, using an ampersand) or included in a cdata marked section.

Text which a user is to type should be marked up with the kbd element, and larger blocks of text should be marked up with verbatim.

C.1.13.2 Parents

attribution, cite, docxref, dt, em, entry, foreign, line, p, px, quote, ref, span, strong, title, verbatim, webref

C.1.13.3 Content

( #pcdata | ref | docxref | webref | url | citation | coderef) *

code
 |_(#PCDATA |
 |__ref |
 |__docxref |
 |__webref |
 |__url |
 |__citation |
 |__coderef)*

C.1.13.4 Attribute code/type

This allows you to indicate what type of text is being described here, and can be used by the processing system as a formatting hint or for some other purpose. The only current value is `fspath', for `filesystem path' (for example, the current LaTeX formatter uses this as a hint to allow different hyphenation rules to break a long string appropriately).


Next Up Previous Contents
Next: C.1.14 Element codecollection
Up: C.1 Element listing
Previous: C.1.12 Element cite
[ID index][Keyword index]
The Starlink SGML Set
Starlink System Note 70
Norman Gray, Mark Taylor
21 April 1999. Release DR-0.7-13. Last updated 24 August 2001