textdata — Pointer to external text data.
- Each of:
- Exactly one of:
- fileref (anyURI)
- entityref (ENTITY)
Required attributes are shown in bold.
This element points to an external entity containing text to be inserted.
Any markup in the text identified with
textdata will be escaped. In other words, this
element is for inserting things like program listings, not parts of an
XML document. To break a document into separate physical files, use
XInclude or external parsed entities.
May be formatted inline or as a displayed block, depending on context.
There are two ways to provide content for
fileref. It is best to use only one of
these methods; however, if multiple sources are provided,
entityref will be used in favor of
If the encoding is such that the processor will not be able to
determine the encoding of the text, the encoding can be specified in
encoding attribute. For
encodings registered (as
charsets) with the Internet Assigned Numbers Authority,
recommended best practice suggests that they be referred to using
their registered names.
Identifies the encoding of the text in the external file
Identifies the location of the data by external identifier (entity name)
Indentifies the location of the data by URI
Specifies the format of the data
The following elements occur in textdata: