The <Article> Element
Description
A <News> article container element.
Note This node can occur both in so-called 'nested news' (as in <Organisation> (root)/<News>) and 'non-nested news' (as in <TBMData>/<News>).
<Article
id =
integer
original-id =
string
content-type =
"literal"
language =
language id
date =
datetime
time =
time
source =
"string(500)"
editor =
"string(50)"
chief-editor =
"string(50)"
is-reference =
boolean >
</Article>
Attributes
| Attribute name | Data type | Description |
|---|---|---|
| id | integer | The globally unique id for this particular news article, regardless of news agency. |
| original-id | string | The id for this particular news article (for this particular agency). |
| content-type | literal |
Indicates the formatting
for the article content. Normal
is used in most cases, but specific types
may be used by different agencies.
|
| language | language id | The language of this news article. It will usually be the language requested, but if this is not specified, one or more of the default languages are used. |
| date | datetime | The date of publication of this news article. For nested news, only the date is summplied (see time). |
| time | time | Only nested news. The time of this news article. |
| source | string(500) | The identification of the news provider of this news article. |
| editor | string(50) | The person or department that edited this particular news message. |
| chief-editor | string(50) | The chief editor for this news article. |
| is-reference Optional | boolean |
This attribute is only used for nested
news articles (i.e., with parent node
<Organisation> (root)/<News>).
Indicates whether you should
look elsewhere for the
actual content of this
news article.
XPath expression:
/TBMData/Sector/Organisation/News/Article[@id = $id and not(@is-reference = 'yes')].
|