Example of the XML in a snapshot
A snapshot is an .xml file that contains a list of all the objects in the map and their revision numbers. This list includes all the dependencies of the map.
Note: You cannot preview the XML for a snapshot in IXIA CCMS Web, but you can in IXIA CCMS Desktop. This
example shows how snapshots work and the map information that they record.
Example XML for a map
This example assumes that you want to create a snapshot of the map CCMS User Guide, which contains a topic and a submap. The following code shows the XML for the map:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//IXIA//DTD DITA Map for Release Management//EN" "IxiaMap-releasemanagement.dtd">
<bookmap id="ddp1441205293768" xml:lang="en-us">
<title>CCMS User Guide</title>
<containerref href="kiy1441205259960.ditamap"/>
<chapter keyref="bhi1441205335829"/>
<chapter format="ditamap" keyref="dsi1441206564020"/>
</bookmap>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//IXIA//DTD IXIA DITA Map//EN" "IxiaMap.dtd">
<bookmap id="ddp1441205293768" xml:lang="en-us">
<title>CCMS User Guide</title>
<chapter href="bhi1441205335829.xml"/>
<chapter format="ditamap" href="dsi1441206564020.ditamap"/>
</bookmap>
Example XML for a snapshot
The code below shows the XML contents of the snapshot file created for the CCMS User Guide map.
The topic bhi1441205335829.xml references an image and a referable-content object, which are both listed in the snapshot. And the objects in the submap (a task that also references an image) are also listed in the snapshot.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE snapshot PUBLIC "-//IXIA//DTD DITA CMS Snapshot//EN" "snapshot.dtd">
<snapshot id="koo1677794688637" xml:lang="en-us">
<title>Sample map--Snapshot</title>
<snapshotmeta>
<shortdesc>Snapshot taken before publish</shortdesc>
<resourceid base="/content/authoring/" id="ddp1441205293768.ditamap" rev="3"/>
</snapshotmeta>
<manifest>
<snapshotref cms-status="Authoring:done"
href="../../authoring/ddp1441205293768.ditamap"
id="ddp1441205293768"
navtitle="Sample map"
rev="4"
type="bookmap">
<!-- Snapshot for topic bhi1441205335829.xml and its
image and referable-content -->
<snapshotref cms-status="Authoring:done"
href="../../authoring/bhi1441205335829.xml"
id="bhi1441205335829"
navtitle="A Topic"
rev="3"
type="concept"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lhr1397660192937.image"
id="lhr1397660192937"
navtitle="lock manager icon"
rev="1"
type="imagemeta"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lar1398347925155.xml"
id="lar1398347925155"
navtitle="Technical Support"
rev="3"
type="referable-content"/>
<!-- Snapshot for submap dsi1441206564020.ditamap and its
task, which also includes an image -->
<snapshotref cms-status="Authoring:done"
href="../../authoring/dsi1441206564020.ditamap"
id="dsi1441206564020"
navtitle="Sample sub-map"
rev="3"
type="bookmap"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lpg1397660191604.xml"
id="lpg1397660191604"
navtitle="Install Tomcat on Windows"
rev="3"
type="task"/>
<snapshotref cms-status="Authoring:done"
ref="../../authoring/qar1397660191290.image"
id="qar1397660191290"
navtitle="Apache Tomcat Configuration"
rev="1"
type="imagemeta"/>
<!-- Snapshots for the container and container part -->
<snapshotref cms-status="Authoring:done"
ref="../../authoring/kiy1441205259960.ditamap"
id="kiy1441205259960"
navtitle="Product V1"
rev="2"
type="container"/>
<snapshotref cms-status="Authoring:done"
ref="../../authoring/gbn1539780690228.ditamap"
id="gbn1539780690228"
navtitle="Product V1 (0001)"
rev="3"
type="containerpart"/>
</manifest>
</snapshot>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE snapshot PUBLIC "-//IXIA//DTD DITA CMS Snapshot//EN" "snapshot.dtd">
<snapshot id="koo1677794688637" xml:lang="en-us">
<title>Sample map--Snapshot</title>
<snapshotmeta>
<shortdesc>Snapshot taken before publish</shortdesc>
<resourceid base="/content/authoring/" id="ddp1441205293768.ditamap" rev="3"/>
</snapshotmeta>
<manifest>
<snapshotref cms-status="Authoring:done"
href="../../authoring/ddp1441205293768.ditamap"
id="ddp1441205293768"
navtitle="Sample map"
rev="4"
type="bookmap">
<!-- Snapshot for topic bhi1441205335829.xml and its
image and referable-content -->
<snapshotref cms-status="Authoring:done"
href="../../authoring/bhi1441205335829.xml"
id="bhi1441205335829"
navtitle="A Topic"
rev="3"
type="concept"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lhr1397660192937.image"
id="lhr1397660192937"
navtitle="lock manager icon"
rev="1"
type="imagemeta"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lar1398347925155.xml"
id="lar1398347925155"
navtitle="Technical Support"
rev="3"
type="referable-content"/>
<!-- Snapshot for submap dsi1441206564020.ditamap and its
task, which also includes an image -->
<snapshotref cms-status="Authoring:done"
href="../../authoring/dsi1441206564020.ditamap"
id="dsi1441206564020"
navtitle="Sample sub-map"
rev="3"
type="bookmap"/>
<snapshotref cms-status="Authoring:done"
href="../../authoring/lpg1397660191604.xml"
id="lpg1397660191604"
navtitle="Install Tomcat on Windows"
rev="3"
type="task"/>
<snapshotref cms-status="Authoring:done"
ref="../../authoring/qar1397660191290.image"
id="qar1397660191290"
navtitle="Apache Tomcat Configuration"
rev="1"
type="imagemeta"/>
</manifest>
</snapshot>