📄 newsmlv1.0.dtd
字号:
-->
<!ENTITY % party " (Comment*
, Party+ )">
<!--
=========================
ELEMENT TYPE DECLARATIONS
=========================
-->
<!--
============================ AdministrativeMetadata ============================
Information about the provenance of a NewsComponent.
================================================================================
-->
<!ELEMENT AdministrativeMetadata (Catalog? , FileName? , SystemIdentifier? , Provider? , Creator? , Source* , Contributor* , Property* )>
<!ATTLIST AdministrativeMetadata %localid; >
<!--
================================ AssociatedWith ================================
A reference to a NewsItem with which this one is associated (for example, a
series of articles, or a collection of photos, of which it is a part). The
NewsItem attribute identifies the relevant NewsItem. Its value can be an
http URL or a NewsML URN as described in the comment to PublicIdentifier. The
Comment can be used to indicate the nature of the association.
================================================================================
-->
<!ELEMENT AssociatedWith (Comment* )>
<!ATTLIST AssociatedWith %localid;
NewsItem CDATA #IMPLIED >
<!--
================================ BasisForChoice ================================
The content of this element is an XPath statement or element-type name
identifying information within each NewsComponent or ContentItem that can be
used as a basis for choice between equivalent NewsComponents or ContentItems.
The root of the XPath corresponds to the NewsComponent or ContentItem itself.
The optional Rank attribute allows providers to place a numerical order on the
importance they think should be attached to the different bases for choice.
Smaller numbers represent higher importance.
================================================================================
-->
<!ELEMENT BasisForChoice (#PCDATA )>
<!ATTLIST BasisForChoice %localid;
Rank CDATA #IMPLIED >
<!--
==================================== ByLine ====================================
A natural-language statement of the author/creator information.
================================================================================
-->
<!ELEMENT ByLine (#PCDATA | Origin )*>
<!ATTLIST ByLine %localid;
xml:lang CDATA #IMPLIED >
<!--
=================================== Catalog ====================================
A container for Resource and TopicUse elements. Resource elements map URNs to
URLs and indicate default vocabularies which apply to the formal names of
certain elements within the subtree that begins with the immediate parent of
the Catalog element. TopicUse elements indicate where in the NewsML document
certain Topics are used. The optional Href attribute provides a pointer to
a Catalog element elsewhere in this or another document. Its value consists of
a # character followed by the value of the Duid attribute of the referenced
Catalog element and preceded, if the referenced Catalog is not in the current
document, by an http URL or a NewsML URN identifying the document or NewsItem
in which the Catalog appears. If the Href attribute is present on a Catalog
element, then that element should be empty. If it contains subelements, the
NewsML system may signal an error.
================================================================================
-->
<!ELEMENT Catalog (Resource* , TopicUse* )>
<!ATTLIST Catalog %localid;
Href CDATA #IMPLIED >
<!--
=============================== Characteristics ================================
Information about the physical characteristics of a ContentItem.
================================================================================
-->
<!ELEMENT Characteristics (SizeInBytes? , Property* )>
<!ATTLIST Characteristics %localid; >
<!--
=================================== Comment ====================================
A natural-language description of, or statement about, the current element. The
optional TranslationOf attribute is a pointer to another Comment element, of
which this one is a direct translation.
================================================================================
-->
<!ELEMENT Comment (#PCDATA )>
<!ATTLIST Comment %localid;
xml:lang CDATA #IMPLIED
TranslationOf IDREF #IMPLIED >
<!--
================================= ContentItem ==================================
A news object that carries or identifies content intended for presentation to
humans.
================================================================================
-->
<!ELEMENT ContentItem (Comment* , Catalog? , MediaType? , Format? , MimeType? , Notation? , Characteristics? , %data; )>
<!ATTLIST ContentItem %localid;
Href CDATA #IMPLIED >
<!--
================================= Contributor ==================================
An individual and/or company or organisation that modified or enhanced a news
object after its creation.
================================================================================
-->
<!ELEMENT Contributor (%party; )>
<!ATTLIST Contributor %localid; >
<!--
================================== Copyright ===================================
The copyright that pertains to a news object.
================================================================================
-->
<!ELEMENT Copyright (Comment* , CopyrightHolder , CopyrightDate )>
<!ATTLIST Copyright %localid;
%assignment; >
<!--
================================ CopyrightDate =================================
A natural-language statement of the copyright date.
================================================================================
-->
<!ELEMENT CopyrightDate (#PCDATA | Origin )*>
<!ATTLIST CopyrightDate %localid;
xml:lang CDATA #IMPLIED >
<!--
=============================== CopyrightHolder ================================
A natural-language statement indicating who owns the copyright.
================================================================================
-->
<!ELEMENT CopyrightHolder (#PCDATA | Origin )*>
<!ATTLIST CopyrightHolder %localid;
xml:lang CDATA #IMPLIED >
<!--
================================ CopyrightLine =================================
A natural-language statement of the copyright information.
================================================================================
-->
<!ELEMENT CopyrightLine (#PCDATA | Origin )*>
<!ATTLIST CopyrightLine %localid;
xml:lang CDATA #IMPLIED >
<!--
=================================== Creator ====================================
An individual and/or company or organisation that created a news object.
================================================================================
-->
<!ELEMENT Creator (%party; )>
<!ATTLIST Creator %localid; >
<!--
================================== CreditLine ==================================
A natural-language statement of credit information.
================================================================================
-->
<!ELEMENT CreditLine (#PCDATA | Origin )*>
<!ATTLIST CreditLine %localid;
xml:lang CDATA #IMPLIED >
<!--
================================= DataContent ==================================
The data that carries the content of a ContentItem.
================================================================================
-->
<!ELEMENT DataContent ANY>
<!ATTLIST DataContent %localid; >
<!--
================================= DateAndTime ==================================
A formal representation of a date and, optionally, time, expressed in ISO 8601
Basic Format, as described in the comment to the DateAndTime attribute within
the assignment ENTITY declaration above.
================================================================================
-->
<!ELEMENT DateAndTime (#PCDATA )>
<!ATTLIST DateAndTime %localid; >
<!--
==================================== DateId ====================================
A date identifier of a NewsItem in short ISO 8601 Basic Format (CCYYMMDD), as
described in the comment to the DateAndTime attribute within the assignment
ENTITY declaration above. The DateId is part of the formal identification of the
NewsItem, and must remain the same through successive revisions of the same
NewsItem.
================================================================================
-->
<!ELEMENT DateId (#PCDATA )>
<!--
================================== DateLabel ===================================
A string representation of a date or date and time, used by human users to help
identify a NewsItem.
================================================================================
-->
<!ELEMENT DateLabel (#PCDATA )>
<!ATTLIST DateLabel %localid; >
<!--
=================================== DateLine ===================================
A natural-language statement of the date and/or place of creation.
================================================================================
-->
<!ELEMENT DateLine (#PCDATA | Origin )*>
<!ATTLIST DateLine %localid;
xml:lang CDATA #IMPLIED >
<!--
============================ DefaultVocabularyFor ==============================
An indication that the parent Resource provides the default vocabulary that
determines the meanings and permitted values of the data occurring in a
particular part of a NewsML document subtree. The Context attribute is an
XPath statement identifying the data to which the default vocabulary applies.
The optional Scheme attribute identifies the relevant naming scheme if the
Resource contains more than one naming scheme. If the Resource is a NewsML
TopicSet, then the meaning of the data identified by the Context is provided
by the Topic whose FormalName subelement matches that data. If the Resource is
not a NewsML TopicSet, then the way in which it is interpreted in order to
provide a meaning for the data is not defined by NewsML but by the authority
that governs whatever format the Resource uses.
Example:
<DescriptiveMetadata>
<Catalog>
<Resource Duid="resource1">
<Urn>urn:newsml:iptc.org:20001006:Ranking:1</Urn>
<Url>www.iptc.com/vocabularies/iptc-rank.xml</Url>
<DefaultVocabularyFor Context="@Confidence"/>
<DefaultVocabularyFor Context="@Importance"/>
</Resource>
<Resource Duid="resource2">
<Urn>urn:newsml:iptc.org:20001006:TopicTypes:1</Urn>
<Url>www.iptc.com/vocabularies/iptc-topictype.xml</Url>
<DefaultVocabularyFor Context="TopicType@FormalName"/>
</Resource>
</Catalog>
<TopicSet>
<Topic Duid="topic1">
<TopicType FormalName="Person">
<Description Variant="Name">Bill Clinton</Description>
<Description Variant="Position">President of the USA</Description>
</Topic>
</TopicSet>
<TopicOccurrence
AssignedBy="Desk Editor"
Confidence="High"
HowPresent="principal subject"
Topic="#topic1"/>
</DescriptiveMetadata>
================================================================================
-->
<!ELEMENT DefaultVocabularyFor EMPTY>
<!ATTLIST DefaultVocabularyFor %localid;
Context CDATA #REQUIRED
Scheme CDATA #IMPLIED >
<!--
==================================== Delete ====================================
An instruction to delete an element within a NewsItem. The NewsItem is
the previous revision of the current one, and the element to be deleted is the
one whose Duid value is equal to the value of the Delete element's DuidRef
attribute.
================================================================================
-->
<!ELEMENT Delete EMPTY>
<!ATTLIST Delete %localid;
DuidRef CDATA #REQUIRED >
<!--
================================= DerivedFrom ==================================
A reference to an NewsItem from which this one is derived. The NewsItem attribute
identifies the relevant NewsItem. Its value can be an http URL or a NewsML URN
as described in the comment to PublicIdentifier.
================================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -