Schema Central > Atom > syndication.xsd > atom:content
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

atom:content

either contains or links to the content of the entry

Element information

Namespace: http://www.w3.org/2005/Atom

Schema document: syndication.xsd

Type: atom:AtomContentType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
xml:base [0..1]xsd:anyURIfrom group atom:atomCommonAttributes
xml:lang [0..1]Anonymousfrom group atom:atomCommonAttributes
Any attribute[0..*]Namespace: ##other, Process Contents: skipfrom group atom:local
type [0..1]atom:ContentTypeMAY be one of "text", "html", or "xhtml". Failing that, it MUST conform to the syntax of a MIME media type, but MUST NOT be a composite type. If neither the type attribute nor the src attribute is provided, Atom Processors MUST behave as though the type attribute were present with a value of "text"
src [0..1]xsd:anyURIan IRI reference used to retrieve the content

Type alternatives

TestType
@srcatom:atomOutOfLineContentType
@type='xhtml'atom:atomInlineXHTMLContentType
@type='text' or @type='html'atom:atomInlineTextContentType
atom:atomInlineOtherContentType

Used in

Sample instance

<content type="xhtml" xml:lang="en"
         xml:base="http://diveintomark.org/">
   <div>
      <p>
         <i>[Update: The Atom draft is finished.]</i>
      </p>
   </div>
</content>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com