element <codeblock> (global)
Namespace: |
|
Type: |
|
Content: |
mixed (allows character data), 22 attributes, 38 elements |
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<codeblock |
|
|
= |
xs:string |
|
= |
xs:string |
|
= |
("50" | "60" | "70" | "80" | "90" | "100" | "110" | "120" | "140" | "160" | "180" | "200" | "-dita-use-conref-target") |
|
= |
("top" | "bottom" | "topbot" | "all" | "sides" | "none" | "-dita-use-conref-target") |
|
= |
("page" | "column" | "textline" | "-dita-use-conref-target") |
|
= |
xs:NMTOKEN |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string |
|
= |
("obsolete" | "deprecated" | "optional" | "default" | "low" | "normal" | "high" | "recommended" | "required" | "urgent" | "-dita-use-conref-target") |
|
= |
("new" | "changed" | "deleted" | "unchanged" | "-dita-use-conref-target") |
|
= |
("yes" | "no" | "-dita-use-conref-target") |
|
= |
xs:language |
|
= |
"preserve" |
|
= |
xs:string |
|
= |
xs:string |
|
= |
xs:string : "+ topic/pre pr-d/codeblock " |
|
|
> |
|
|
</codeblock> |
Included in content model of elements (38):
-
abstract,
body,
chdesc,
chdeschd,
choice,
choption,
choptionhd,
conbody,
context,
dd,
desc,
draft-comment,
entry,
example,
fig,
fn,
glossdef,
info,
itemgroup,
li,
linkinfo,
lq,
note,
p,
pd,
postreq,
prereq,
propdesc,
propdeschd,
proptypehd,
propvaluehd,
refsyn,
result,
section,
stentry,
stepresult,
stepxmp,
tutorialinfo
Annotation
The <codeblock> element represents lines of
program code. Like the
<pre>
element,
content of this element has preserved line endings and is output in a monospaced
font. This element is part of the DITA programming domain, a special set of
DITA elements designed to document programming tasks, concepts and reference
information.
Type Derivation Tree
complexType
|
XML Source (w/o annotations (1); see within schema source)
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base="codeblock.class">
<xs:attribute default="+ topic/pre pr-d/codeblock " ref="class"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
|
Attribute Detail (all declarations; defined within this component only; 1/22)
-
Type: |
xs:string, predefined
|
Use: |
optional |
Attribute Value
Default: |
"+ topic/pre pr-d/codeblock " |
XML Source (see within schema source)
<xs:attribute default="+ topic/pre pr-d/codeblock " ref="class"/>
|