To see the relationship name, from, to applications its relation ship name we can take a copy of this view and customize can create the new catalog view.
Take this file application/core_al_app_provider_list_table.xsl Use the following code blocks.
declaration
Code: Select all
<xsl:variable name="allApps" select="/node()/simple_instance[(type = 'Application_Provider') or (type = 'Composite_Application_Provider')]"/>
<xsl:variable name="allAppUsages" select="/node()/simple_instance[type = 'Static_Application_Provider_Usage']"/>
<xsl:variable name="allInfoReps" select="/node()/simple_instance[type = 'Information_Representation']"/>
<xsl:variable name="allInfoRepAtts" select="/node()/simple_instance[type = 'Information_Representation_Attribute']"/>
<xsl:variable name="allAppDependencies" select="/node()/simple_instance[type = ':APU-TO-APU-STATIC-RELATION']"/>
<xsl:variable name="allApp2InfoReps" select="/node()/simple_instance[type = 'APP_PRO_TO_INFOREP_RELATION']"/>
header part
Code: Select all
<table id="dt_apps" class="table table-striped table-bordered">
<thead>
<tr>
<th>
<xsl:value-of select="eas:i18n('Relation Ship Name')"/>
</th>
<th>
<xsl:value-of select="eas:i18n('From Application')"/>
</th>
<th>
<xsl:value-of select="eas:i18n('To Application')"/>
Code: Select all
<td>
<xsl:variable name="anApp2InfoRep" select="$allApp2InfoReps[name = current()/own_slot_value[slot_reference = 'apu_to_apu_relation_inforeps']/value]"/>
<xsl:variable name="anInfoReps" select="eas:getInfoRepsFromRelation($anApp2InfoRep)"/>
<xsl:for-each select="$anInfoReps">
<div>
<span class="text-primary">
<xsl:variable name="demoString" select="current()/own_slot_value[slot_reference = 'name']/value" />
<xsl:value-of select="$demoString"/>
</span>
</div>
</xsl:for-each>
</td>
<td>
<xsl:variable name="anAppNameFromusage" select="$allAppUsages[name = current()/own_slot_value[slot_reference = ':TO']/value]"/>
<xsl:variable name="boundApps" select="$allApps[name = $anAppNameFromusage/own_slot_value[slot_reference = 'static_usage_of_app_provider']/value]"/>
<xsl:for-each select="$boundApps">
<div>
<span class="text-primary">
<xsl:value-of select="current()/own_slot_value[slot_reference = 'name']/value"/>
</span>
</div>
</xsl:for-each>
</td>
<td>
<xsl:variable name="anAppNameFromusage" select="$allAppUsages[name = current()/own_slot_value[slot_reference = ':FROM']/value]"/>
<xsl:variable name="boundApps" select="$allApps[name = $anAppNameFromusage/own_slot_value[slot_reference = 'static_usage_of_app_provider']/value]"/>
<xsl:for-each select="$boundApps">
<div>
<span class="text-primary">
<xsl:value-of select="current()/own_slot_value[slot_reference = 'name']/value"/>
</span>
</div>
</xsl:for-each>
</td>