1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: rspecupgrade
- (C) Copyright IBM Corp. 2005, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure
- restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!-- COPYRIGHT_DATA { 'YEAR':[2005, 2009], 'RELEASE':['colorado_wave1'], 'VISIBLE':'YES', 'COMPONENT':'rspecupgrade' }-->
- <!--All lines above the COPYRIGHT_DATA line will be replaced when copyright notices are generated. -->
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:baltic="http://developer.cognos.com/schemas/report/1/" xmlns="http://developer.cognos.com/schemas/report/2.0/" xmlns:date="http://exslt.org/dates-and-times" xmlns:exsl="http://exslt.org/common" xmlns:xalan="http://xml.apache.org/xalan" xmlns:java="http://xml.apache.org/xalan/java" extension-element-prefixes="xalan date exsl" exclude-result-prefixes="xalan java baltic date exsl">
- <xsl:template match="baltic:variableList">
- <reportVariables>
- <xsl:apply-templates select="baltic:variable"/>
- </reportVariables>
- </xsl:template>
- <xsl:template match="baltic:variable">
- <reportVariable>
- <xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
- <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
- <xsl:if test="@upgradeNoteId">
- <xsl:attribute name="upgradeNoteId"><xsl:value-of select="@upgradeNoteId"/></xsl:attribute>
- </xsl:if>
- <xsl:apply-templates/>
- </reportVariable>
- </xsl:template>
- <xsl:template match="baltic:variableValueList">
- <variableValues>
- <xsl:apply-templates select="baltic:valueGroup"/>
- <xsl:apply-templates select="baltic:variableValue"/>
- </variableValues>
- </xsl:template>
- <xsl:template match="baltic:valueGroup">
- <variableValueGroup>
- <xsl:attribute name="value"><xsl:value-of select="@value"/></xsl:attribute>
- <xsl:apply-templates select="baltic:variableValue"/>
- </variableValueGroup>
- </xsl:template>
- <xsl:template match="baltic:variableValue">
- <variableValue>
- <xsl:attribute name="value"><xsl:value-of select="@value"/></xsl:attribute>
- </variableValue>
- </xsl:template>
- </xsl:stylesheet>
|