<cics:atomservice> element
The <cics:atomservice> element is the root element for an Atom configuration file.
Attributes
- type=typevalue
- The type of Atom document that is being configured. This attribute
is required. typevalue must match the document
type specified in the ATOMTYPE attribute of the ATOMSERVICE resource
definition that references this Atom configuration file.
- type="feed"
- An Atom feed document.
- type="service"
- An Atom service document.
- type="collection"
- An Atom collection document.
- type="category"
- An Atom category document.
- version=version
- The version of the Atom configuration file format. If this attribute
is not specified, the version defaults to 1.
- version="1"
- Set this version if the Atom configuration file is compatible with Atom feeds in previous releases of CICS. This value is the default.
- version="2"
- Set this version if the Atom configuration file sets any of the
following XML elements and attributes:
- <cics:urimap> element is included
- <cics:bind> element includes an
xmltransformattribute - <cics:bind> element is not included
- xmnls:cics="http://www.ibm.com/xmlns/prod/cics/atom/atomservice"
- The namespace declaration to bind the configuration file to the CICS® Atom XML namespace. Do not change this namespace declaration.
- xmnls:atom="http://www.w3.org/2005/Atom"
- The namespace declaration to bind the configuration file to the Atom XML namespace. Do not change this namespace declaration.
The namespace declaration xmnls:app="http://www.w3.org/2007/app" is
used to bind an Atom document to the namespace for the Atom Publishing
Protocol. However, this namespace declaration does not appear in an
Atom configuration file for an Atom feed or collection, because those
Atom configuration files do not contain any elements with the app: prefix.
When CICS uses the <app:edited> element in an Atom document that
it serves for a collection, CICS adds this namespace declaration automatically.
The namespace declaration is required in an Atom configuration file
for an Atom service or category document.
Contains:
Example
<cics:atomservice type="feed" version="2"
xmlns:cics="http://www.ibm.com/xmlns/prod/cics/atom/atomservice"
xmlns:atom="http://www.w3.org/2005/Atom">
</cics:atomservice>