[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The basic syntax is a name followed by a value on a single line. They are
separated from each other by either white space, a colon (:
) or an
equal sign (=
). The colon or equal sign may optionally be surrounded
by additional white space. If more than one value line is needed, a
backslash (\
) may be used to continue the value. The backslash (but
not the newline) will be erased. Leading and trailing white space is always
stripped from the value.
Fundamentally, it looks like this:
name value for that name
name = another \
multi-line value \
for that name.
name: a *third* value for |
If you need more control over the content of the value, you may enclose the value in XML style brackets:
<name>value </name> |
Within these brackets you need not (must not) continue the value data with
backslashes. You may also select the string formation rules to use, just
add the attribute after the name, thus: <name keep>
.
This mode will keep all text between the brackets and not strip any white space.
This mode strips leading and trailing white space, but not do any quote processing. This is the default and need not be specified.
The text is trimmed of leading and trailing white space and XML encodings are processed. These encodings are slightly expanded over the XML specification. They are specified with an ampersand followed by a value name or numeric value and then a semicolon:
These are all per fairly standad HTML and/or XML encodings. Additionally:
The ASCII back space character.
The ASCII form feed character.
The ASCII horizontal (normal) tab character.
The ASCII carriage return character.
The ASCII vertical tab character.
The ASCII alarm bell character.
The ASCII new line character.
The ASCII space character. Normally not necessary, but if you want to preserve leading or trailing space characters, then use this.
And here is an example of an XML-styled value:
<name cooked> This is&nl;&ht;another multi-line &ht;string example. </name> |
The string value associated with name
will be exactly the text enclosed
in quotes with the encoded characters cooked
as you would expect (three
text lines with the last line not ending with a newline, but ending with a
period).
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.