123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: CCS
- (c) Copyright IBM Corp. 2005, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsl:stylesheet version="1.0" xmlns:info="http://developer.cognos.com/schemas/rds/types/1" xmlns:ccs="com.cognos.ccs.xslt.XSLTFunctions" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cm="http://developer.cognos.com/schemas/bibus/3/" xmlns:d="@extensionnamespace@">
- <xsl:output method="xml" omit-xml-declaration="yes" encoding="UTF-8" version="1.0"/>
- <xsl:template match="/">
- <xsl:comment> Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated)</xsl:comment>
- <atom:feed>
- <atom:id>
- <xsl:value-of select="concat('tag:cognos.com,2007:','@report_id@')"/>
- </atom:id>
- <atom:title>@report_title@</atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:author>
- <atom:name>@report_author@</atom:name>@report_author_email@
- </atom:author>
- <atom:link rel="self" type="application/atom+xml" href="@report_gateway@/rds/atom/path/@report_id@?v=@requestversion@"/>
- <atom:link rel="alternate" type="text/xml" href="@report_gateway@/rds/content/path/@report_id@?v=@requestversion@"/>
- <d:owner>@report_author@</d:owner>
- <d:ownerEmail>@report_owner_email@</d:ownerEmail>
- <d:contact>@report_contact_name@</d:contact>
- <d:contactEmail>@report_contact_email@</d:contactEmail>
- <d:location>@report_location@</d:location>
- <d:description>@report_description_text@</d:description>
- <d:thumbnailURL>@report_gateway@/rds/thumbnail/report/@report_storeid@?v=@requestversion@</d:thumbnailURL>
- <xsl:apply-templates select="/info:document/*"/>
- </atom:feed>
- </xsl:template>
- <xsl:template match="info:pageSet">
- <xsl:apply-templates select="./pageOverallGroup/headerPages/*"/>
- <xsl:apply-templates select="./detailPages/*"/>
- <xsl:apply-templates select="./pageOverallGroup/footerPages/*"/>
- <xsl:for-each select="./pageGroups/pageGroup">
- <xsl:apply-templates select="headerPages/*"/>
- <xsl:apply-templates select="footerPages/*"/>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="info:page">
- <xsl:call-template name="atomPageEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">page</xsl:with-param>
- <xsl:with-param name="entryIcon">folder</xsl:with-param>
- </xsl:call-template>
- <xsl:element name="subFeed">
- <xsl:attribute name="name"><xsl:value-of select="./d:id"/></xsl:attribute>
- <xsl:attribute name="type">page</xsl:attribute>
- <atom:feed>
- <atom:id>
- <xsl:value-of select="concat('tag:cognos.com,2007:','@report_id@/', ./d:id)"/>
- </atom:id>
- <atom:title>
- <xsl:value-of select="./d:id"/>
- </atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:author>
- <atom:name>Cognos</atom:name>
- </atom:author>
- <atom:link rel="self" type="application/atom+xml">
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',./d:id,'&eltype=page','&v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <xsl:if test="info:header/info:item/*">
- <xsl:call-template name="atomVirtualEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">header</xsl:with-param>
- <xsl:with-param name="entryIcon">folder</xsl:with-param>
- <xsl:with-param name="entryName">@header_title@</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- <xsl:if test="info:body/info:item/*/d:id">
- <xsl:call-template name="atomVirtualEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">body</xsl:with-param>
- <xsl:with-param name="entryIcon">folder</xsl:with-param>
- <xsl:with-param name="entryName">@body_title@</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- <xsl:if test="info:footer/info:item/*/d:id">
- <xsl:call-template name="atomVirtualEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">footer</xsl:with-param>
- <xsl:with-param name="entryIcon">folder</xsl:with-param>
- <xsl:with-param name="entryName">@footer_title@</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </atom:feed>
- </xsl:element>
- <xsl:if test="info:header/info:item/*/d:id">
- <xsl:element name="subFeed">
- <xsl:attribute name="name"><xsl:value-of select="./d:id"/></xsl:attribute>
- <xsl:attribute name="type">header</xsl:attribute>
- <atom:feed>
- <atom:id>
- <xsl:value-of select="concat('tag:cognos.com,2007:','@report_id@/', ./d:id, ':header')"/>
- </atom:id>
- <atom:title>@header_title@</atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:author>
- <atom:name>Cognos</atom:name>
- </atom:author>
- <atom:link rel="self" type="application/atom+xml">
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',./d:id,'&eltype=header','&v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <xsl:apply-templates select="info:header/info:item/*"/>
- </atom:feed>
- </xsl:element>
- </xsl:if>
- <xsl:if test="info:body/info:item/*/d:id">
- <xsl:element name="subFeed">
- <xsl:attribute name="name"><xsl:value-of select="./d:id"/></xsl:attribute>
- <xsl:attribute name="type">body</xsl:attribute>
- <atom:feed>
- <atom:id>
- <xsl:value-of select="concat('tag:cognos.com,2007:','@report_id@/', ./d:id, ':body')"/>
- </atom:id>
- <atom:title>@body_title@</atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:author>
- <atom:name>Cognos</atom:name>
- </atom:author>
- <atom:link rel="self" type="application/atom+xml">
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',./d:id,'&eltype=body','&v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <xsl:apply-templates select="info:body/info:item/*"/>
- </atom:feed>
- </xsl:element>
- </xsl:if>
- <xsl:if test="info:footer/info:item/*/d:id">
- <xsl:element name="subFeed">
- <xsl:attribute name="name"><xsl:value-of select="./d:id"/></xsl:attribute>
- <xsl:attribute name="type">footer</xsl:attribute>
- <atom:feed>
- <atom:id>
- <xsl:value-of select="concat('tag:cognos.com,2007:','@report_id@/', ./d:id, ':footer')"/>
- </atom:id>
- <atom:title>@footer_title@</atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:author>
- <atom:name>Cognos</atom:name>
- </atom:author>
- <atom:link rel="self" type="application/atom+xml">
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',./d:id,'&eltype=footer','&v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <xsl:apply-templates select="info:footer/info:item/*"/>
- </atom:feed>
- </xsl:element>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:table">
- <xsl:apply-templates select="tableRows/tableRow"/>
- </xsl:template>
- <xsl:template match="info:tableRow">
- <xsl:apply-templates select="tableCells/tableCell"/>
- </xsl:template>
- <xsl:template match="info:tableCell">
- <xsl:apply-templates select="contents/*"/>
- </xsl:template>
- <xsl:template match="info:block">
- <xsl:apply-templates select="contents/*"/>
- </xsl:template>
- <xsl:template match="info:MListFrame">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">list</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:TOC">
- <xsl:if test="@tocName">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">toc</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MTextFrame">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">textframe</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MImage">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">image</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MCrosstab">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">crosstab</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MRepeaterTable">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">repeater_table</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MRepeater">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">repeater</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MHyperlink">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">hyperlink</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MHTMLItem">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">html</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MRichTextItem">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">richtext</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MBookmark">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">bookmark</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MTOCEntry">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">bookmark</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="fieldset">
- <xsl:apply-templates select="contents/*"/>
- </xsl:template>
- <xsl:template match="conditionalBlocks">
- <xsl:apply-templates select="./conditionalBlockDefault/contents/*"/>
- <xsl:for-each select="./conditionalBlockCases/conditionalBlock">
- <xsl:apply-templates select="./contents/*"/>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="layoutComponentRef">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="concat(./d:id, '_REF')"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">layout_component_ref</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="CMMMap">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">image</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MChart">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">chart</xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="info:MWidget">
- <xsl:if test="./d:id">
- <xsl:call-template name="atomWidgetEntry">
- <xsl:with-param name="entryID">
- <xsl:value-of select="./d:id"/>
- </xsl:with-param>
- <xsl:with-param name="entryType">widget</xsl:with-param>
- <xsl:with-param name="storeID">
- <xsl:value-of select="./info:storeID"/>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <xsl:template match="*">
- <!--Unknown element. Ignore-->
- </xsl:template>
- <xsl:template name="atomEntry">
- <xsl:param name="entryID"/>
- <xsl:param name="entryIcon"/>
- <xsl:param name="entryType"/>
- <atom:entry>
- <atom:id>
- <xsl:choose>
- <xsl:when test="function-available('ccs:encodeID')">
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',ccs:encodeID($entryID))"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',$entryID)"/>
- </xsl:otherwise>
- </xsl:choose>
- </atom:id>
- <atom:title>
- <xsl:value-of select="$entryID"/>
- </atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:link>
- <xsl:attribute name="rel">icon</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@webcontent_root@/ccs/images/', $entryType,'_icon.gif')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">thumbnail</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:choose><xsl:when test="function-available('ccs:encodeID')"><xsl:value-of select="concat('@report_gateway@/rds/thumbnail/report/@report_storeid@?selection=',ccs:encodeID($entryID),'&v=@requestversion@')"/></xsl:when><xsl:otherwise><xsl:value-of select="concat('@report_gateway@/rds/thumbnail/reportpart/@report_storeid@?selection=',$entryID,'&v=@requestversion@')"/></xsl:otherwise></xsl:choose></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/x-ldx+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:choose><xsl:when test="function-available('ccs:encodeID')"><xsl:value-of select="concat('@report_gateway@/rds/content/path/@report_id@?selection=',ccs:encodeID($entryID),'&v=@requestversion@')"/></xsl:when><xsl:otherwise><xsl:value-of select="concat('@report_gateway@/rds/content/path/@report_id@?selection=',$entryID,'&v=@requestversion@')"/></xsl:otherwise></xsl:choose></xsl:attribute>
- </atom:link>
- <cm:objectClass>reportpart</cm:objectClass>
- <d:type>
- <xsl:value-of select="$entryType"/>
- </d:type>
- </atom:entry>
- </xsl:template>
- <xsl:template name="atomVirtualEntry">
- <xsl:param name="entryID"/>
- <xsl:param name="entryIcon"/>
- <xsl:param name="entryType"/>
- <xsl:param name="entryName"/>
- <atom:entry>
- <atom:id>
- <xsl:choose>
- <xsl:when test="function-available('ccs:encodeID')">
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',ccs:encodeID($entryID), ':', $entryType)"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',$entryID, ':', $entryType)"/>
- </xsl:otherwise>
- </xsl:choose>
- </atom:id>
- <atom:title>
- <xsl:value-of select="$entryName"/>
- </atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:link>
- <xsl:attribute name="rel">icon</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@webcontent_root@/ccs/images/', $entryIcon,'_icon.gif')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/atom+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:choose><xsl:when test="function-available('ccs:encodeID')"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',ccs:encodeID($entryID),'&eltype=',$entryType,'&v=@requestversion@')"/></xsl:when><xsl:otherwise><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',$entryID,'&eltype=',$entryType,'&v=@requestversion@')"/></xsl:otherwise></xsl:choose></xsl:attribute>
- </atom:link>
- <d:type>
- <xsl:value-of select="$entryType"/>
- </d:type>
- </atom:entry>
- </xsl:template>
- <xsl:template name="atomPageEntry">
- <xsl:param name="entryID"/>
- <xsl:param name="entryIcon"/>
- <atom:entry>
- <atom:id>
- <xsl:choose>
- <xsl:when test="function-available('ccs:encodeID')">
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',ccs:encodeID($entryID))"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',$entryID)"/>
- </xsl:otherwise>
- </xsl:choose>
- </atom:id>
- <atom:title>
- <xsl:value-of select="$entryID"/>
- </atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:link>
- <xsl:attribute name="rel">icon</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@webcontent_root@/ccs/images/', $entryIcon,'_icon.gif')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/atom+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:choose><xsl:when test="function-available('ccs:encodeID')"><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',ccs:encodeID($entryID),'&eltype=page','&v=@requestversion@')"/></xsl:when><xsl:otherwise><xsl:value-of select="concat('@report_gateway@/rds/atom/path/@report_id@?selection=',$entryID,'&type=page','&v=@requestversion@')"/></xsl:otherwise></xsl:choose></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/x-ldx+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:choose><xsl:when test="function-available('ccs:encodeID')"><xsl:value-of select="concat('@report_gateway@/rds/content/path/@report_id@?selection=',ccs:encodeID($entryID),'&eltype=page','&v=@requestversion@')"/></xsl:when><xsl:otherwise><xsl:value-of select="concat('@report_gateway@/rds/content/path/@report_id@?selection=',$entryID,'&v=@requestversion@')"/></xsl:otherwise></xsl:choose></xsl:attribute>
- </atom:link>
- <d:type>page</d:type>
- </atom:entry>
- </xsl:template>
- <xsl:template name="atomWidgetEntry">
- <xsl:param name="entryID"/>
- <xsl:param name="entryType"/>
- <xsl:param name="storeID"/>
- <atom:entry>
- <atom:id>
- <xsl:choose>
- <xsl:when test="function-available('ccs:encodeID')">
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',ccs:encodeID($entryID))"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('tag:cognos.com,2007:@report_id@/',$entryID)"/>
- </xsl:otherwise>
- </xsl:choose>
- </atom:id>
- <atom:title>
- <xsl:value-of select="$entryID"/>
- </atom:title>
- <atom:updated>@report_updated@</atom:updated>
- <atom:link>
- <xsl:attribute name="rel">icon</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@webcontent_root@/ccs/images/', $entryType,'_icon.gif')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">thumbnail</xsl:attribute>
- <xsl:attribute name="type">image/gif</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/thumbnail/report/', $storeID,'?v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/atom+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/atom/report/', $storeID,'?v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <atom:link>
- <xsl:attribute name="rel">alternate</xsl:attribute>
- <xsl:attribute name="type">application/x-ldx+xml</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="concat('@report_gateway@/rds/content/report/', $storeID,'?v=@requestversion@')"/></xsl:attribute>
- </atom:link>
- <cm:objectClass>reportpart</cm:objectClass>
- <d:type>
- <xsl:value-of select="$entryType"/>
- </d:type>
- </atom:entry>
- </xsl:template>
- </xsl:stylesheet>
|