Business Capability Maturity Level
Posted: 13 Oct 2012, 13:30
I have extended the Business Capability class to include a new slot to capture the level of maturity of a capability in relation to an architecture state.
In doing so, I have created a new enumeration value that is referenced within the capability form.
It all works work within Protege but the viewer does not display the enumeration value. My code snippets below:
In doing so, I have created a new enumeration value that is referenced within the capability form.
It all works work within Protege but the viewer does not display the enumeration value. My code snippets below:
Code: Select all
<xsl:variable name="currentBusCap" select="$allBusinessCaps[name=$param1]"/>
<xsl:variable name="currentBusCapName" select="$currentBusCap/own_slot_value[slot_reference='name']/value"/>
<xsl:variable name="currentBusCapDescription" select="$currentBusCap/own_slot_value[slot_reference='description']/value"/>
<xsl:variable name="capabilityMaturity" select="$currentBusCap/own_slot_value[slot_reference='business_capability_maturity_level']/value"/>
<xsl:variable name="capabilityMaturityEnumValue" select="$capabilityMaturity/own_slot_value[slot_reference='enumeration_value']/value"/>
<!--Setup Maturity Section-->
<div id="sectionMaturity">
<div class="sectionContainerFullWidth">
<div class="sectionIcon" id="image_target"/>
<div class="sectionHeader">
<h1>Maturity Level</h1>
</div>
<div class="sectionBasicTextFullWidth">
<xsl:choose>
<xsl:when test="string-length($capabilityMaturity) = 0">
<em>No maturity level captured for this Business Capability</em>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$capabilityMaturityEnumValue"/>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<div class="sectionDividerHorizontal"/>
<div class="clear"/>
</div>