123456789101112131415161718192021222324252627282930 |
- <?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:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ccs="http://developer.cognos.com/rds/1" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
- <xsl:output method="xml" omit-xml-declaration="yes" version="1.0"/>
- <xsl:param name="filterObjid">1</xsl:param>
- <xsl:template match="/">
- <xsl:apply-templates select="//ccs:cbits"/>
- </xsl:template>
- <xsl:template match="ccs:cbits">
- <ccs:cbits>
- <ccs:metaData>
- <xsl:apply-templates select="//ccs:metaData//ccs:id[. = $filterObjid]"/>
- </ccs:metaData>
- <ccs:data>
- <xsl:apply-templates select="//ccs:data//ccs:id[. = $filterObjid]"/>
- </ccs:data>
- </ccs:cbits>
- </xsl:template>
- <xsl:template match="ccs:id">
- <xsl:copy-of select="../*"/>
- </xsl:template>
- </xsl:stylesheet>
|