123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
- xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/"
- xmlns:dc="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/confirm/1/"
- xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:out="dummy-uri"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:rdb="http://developer.cognos.com/schemas/xts/rdb">
-
- <xsl:output method="xml" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
-
- <xsl:template match="rdb:preferences">
- <dt:selectDeselectAll/>
- <script language="javascript" src="{'{$webRoot}'}/cr1/caf.js"/>
- <script language="javascript">
- <!-- Define selectall and deselectall functions.-->
- function init()
- {
- if (document.pform.controller_state)
- document.pform.controller_state.value = "";
-
- if (isBidiEnabled)
- {
- if (typeof document.pform.m_p_email != "undefined")
- {
- document.pform.m_p_email.value = bidi.sttInjectUCCIntoStr(document.pform.m_p_email.value, 'email');
- }
- if (typeof document.pform.m_p_notificationEMail != "undefined")
- {
- document.pform.m_p_notificationEMail.value = bidi.sttInjectUCCIntoStr(document.pform.m_p_notificationEMail.value, 'email');
- }
- }
- <xsl:if test="@mode='preferences'">
- var f = document.pform;
- if(f.initAlert.value == 'true')
- {
- f.initAlert.value = 'false';
- if (f.m_p_email != null && f.m_p_email.value != '' && f.m_p_notificationEMail != null && f.m_p_notificationEMail.value == '' )
- {
- if (confirm("<xts:string id="IDS_PERS_TAB_GENERAL_ALERT_EMAIL" encode="javascript"/>"))
- f.m_p_notificationEMail.value = f.m_p_email.value;
- }
- }
- </xsl:if>
- }
- function processModalCommand(sAction)
- {
- <!-- Set the right call back target -->
-
- var callBackTarget = <out:value-of select="$callBackTargetJSVar"/>;
-
- if( callBackTarget )
- {
- callBackTarget.<out:value-of select="$callBackFunctionName"/>(sAction, null);
- }
- }
- <xsl:if test="@mode='preferences'">
- var f = document.pform;
- //Want to warn user if she makes notificationEmail different than logon but only once per visit
- function validate()
- {
- if(f.valAlert && f.valAlert.value == 'true')
- {
- f.valAlert.value = 'false';
- if (f.m_p_email != null && f.m_p_email.value != '' && f.m_p_notificationEMail != null && f.m_p_notificationEMail.value != '' && f.m_p_email.value != f.m_p_notificationEMail.value)
- {
- if ( confirm("<xts:string id="IDS_PERS_TAB_PERSONAL_ALERT_EMAIL" encode="javascript"/>") )
- updateAlertEmail();
- }
- }
- if (typeof CAFIsValidEmailAddress == "function" && f.m_p_notificationEMail != null && f.m_p_notificationEMail.value != '') {
- if (!CAFIsValidEmailAddress(f.m_p_notificationEMail.value)) {
- alert("<xts:string id="IDS_PERS_TAB_PERSONAL_INVALID_ALERT_EMAIL" encode="javascript"/>");
- return false;
- }
- }
- return true;
- }
-
- function updateAlertEmail()
- {
- f.m_p_notificationEMail.value = f.m_p_email.value;
- }
- </xsl:if>
- </script>
-
- <!-- Primary Log on ============================== -->
- <lyt:layout style="1">
- <xsl:if test="@mode='preferences'">
- <xsl:attribute name="title">IDS_PERS_TAB_PERSONAL_PRIMARY_LOGON</xsl:attribute>
- <xsl:attribute name="intro">IDS_PERS_TAB_PERSONAL_PRIMARY_LOGON_INTRO</xsl:attribute>
- <xsl:attribute name="border">yes</xsl:attribute>
- </xsl:if>
- <lyt:section valign="top">
- <!-- Namespace -->
- <xsl:if test="@mode='preferences'">
- <dp:input>
- <dp:section1><xts:string id="IDS_PERS_TAB_PERSONAL_NAMESPACE"/></dp:section1>
- <dp:section2><out:value-of select="$user/cm:ancestors/cm:ancestorInfo[cm:objectClass = 'namespace']/cm:title"/> </dp:section2>
- </dp:input>
- </xsl:if>
-
- <!-- User ID -->
- <out:if test="$user/cm:objectClass = 'account'">
- <dp:input>
- <dp:section1><xts:string id="IDS_PERS_TAB_PERSONAL_USERID"/></dp:section1>
- <dp:section2><out:value-of select="$user/cm:userName"/> </dp:section2>
- </dp:input>
- </out:if>
-
- <!-- Given Name -->
- <out:variable name="nameRO" select="not($user/cm:givenName/@modifiable = 'true') or $noUserProfile"/>
- <dp:input>
- <dp:section1>
- <label>
- <out:if test="not($nameRO)">
- <out:attribute name="for">ctrl_m_p_givenName</out:attribute>
- </out:if>
- <xts:string id="IDS_PERS_TAB_PERSONAL_GIVENNAME"/>
- </label>
- </dp:section1>
- <dp:section2>
- <utml:input type="text" name="m_p_givenName" size="35" utml:track="false" id="ctrl_m_p_givenName">
- <utml:value>
- <out:value-of select="$user/cm:givenName"/>
- </utml:value>
- <utml:read-only>
- <out:value-of select="$nameRO"/>
- </utml:read-only>
- </utml:input>
- </dp:section2>
- </dp:input>
- <!-- Surname -->
- <out:variable name="surNameRO" select="not($user/cm:surname/@modifiable='true') or $noUserProfile"/>
- <dp:input>
- <dp:section1>
- <label >
- <out:if test="not($surNameRO)">
- <out:attribute name="for">ctrl_m_p_surname</out:attribute>
- </out:if>
- <xts:string id="IDS_PERS_TAB_PERSONAL_SURNAME"/>
- </label>
- </dp:section1>
- <dp:section2>
- <utml:input type="text" name="m_p_surname" size="35" utml:track="false" id="ctrl_m_p_surname">
- <utml:value>
- <out:value-of select="$user/cm:surname"/>
- </utml:value>
- <utml:read-only>
- <out:value-of select="$surNameRO"/>
- </utml:read-only>
- </utml:input>
- </dp:section2>
- </dp:input>
-
- <!-- Email -->
- <out:variable name="emailRO" select="not($user/cm:email/@modifiable='true') or $noUserProfile"/>
- <dp:input>
- <dp:section1>
- <label>
- <out:if test="not($emailRO)">
- <out:attribute name="for">ctrl_m_p_email</out:attribute>
- </out:if>
- <xts:string id="IDS_PERS_TAB_PERSONAL_EMAIL"/>
- </label>
- </dp:section1>
- <dp:section2>
- <utml:input type="text" name="m_p_email" size="35" stttype="email" utml:track="false" id="ctrl_m_p_email">
- <utml:value>
- <out:value-of select="xtsext:sttInjectUCCIntoStr($user/cm:email, 'email', boolean($isBidiEnabled='true'))"/>
- </utml:value>
- <utml:read-only>
- <out:value-of select="$emailRO"/>
- </utml:read-only>
- </utml:input>
- </dp:section2>
- </dp:input>
- </lyt:section>
- </lyt:layout>
-
- <xsl:if test="@mode='preferences'">
- <!-- Secondary Logons ============================== -->
- <!-- Show secondary logons only when there is more than one logon -->
- <out:if test="count($identity/cm:account) > 1">
- <lyt:layout style="1" title="IDS_PERS_TAB_PERSONAL_SECONDARY_LOGON" intro="IDS_PERS_TAB_PERSONAL_SECONDARY_LOGON_INTRO" border="yes">
- <lyt:section valign="top">
-
- <dp:list width="40%">
- <dp:section>
- <dp:text width="100%"/>
- <dp:text nospace="nospace">
- 1 - <out:value-of select="count($identity/cm:account[string(cm:searchPath) != string(/root/cm:queryResponse/cm:queryReply[1]/cm:account/cm:searchPath)])"/>
- </dp:text>
- </dp:section>
- </dp:list>
- <!-- Only list the secondary logons -->
- <cp:table name="logons" iterate="$identity/cm:account[string(cm:searchPath) != string(/root/cm:queryResponse/cm:queryReply[1]/cm:account/cm:searchPath)]" width="40%">
- <cp:tableHeader>
- <cp:columnHeader width="20"/>
- <cp:columnHeader width="60%"><xts:string id="IDS_PERS_TAB_PERSONAL_NAMESPACE_HEADER"/></cp:columnHeader>
- <cp:columnHeader width="40%"><xts:string id="IDS_PERS_TAB_PERSONAL_USERID_HEADER"/></cp:columnHeader>
- </cp:tableHeader>
- <cp:tableContent>
- <cp:columnContent>
- <out:call-template name="gen-icon">
- <out:with-param name="class" select="./cm:class"/>
- <out:with-param name="hiddenObject" select="./cm:hidden"/>
- </out:call-template>
- </cp:columnContent>
- <cp:columnContent>
- <out:value-of select="cm:ancestors/cm:ancestorInfo[cm:objectClass = 'namespace']/cm:title"/>
- </cp:columnContent>
- <cp:columnContent>
- <out:value-of select="cm:userName"/>
- </cp:columnContent>
- </cp:tableContent>
- </cp:table>
- </lyt:section>
- </lyt:layout>
- </out:if>
- </xsl:if>
- <!-- Email to use for Alerts =========================== -->
- <out:if test="$user/cm:objectClass != 'contact'">
- <utml:input type="hidden" name="initAlert" utml:update="false">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param','initAlert')"><out:value-of select="key('env-param','initAlert')"/></out:when>
- <out:otherwise>true</out:otherwise>
- </out:choose>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="valAlert" utml:update="false">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param','valAlert')"><out:value-of select="key('env-param','valAlert')"/></out:when>
- <out:otherwise>true</out:otherwise>
- </out:choose>
- </utml:value>
- </utml:input>
- <lyt:layout style="1" title="IDS_PERS_TAB_GENERAL_NOTIFICATIONS" intro="IDS_PERS_TAB_GENERAL_NOTIFICATIONS_DESC" border="yes">
- <lyt:section>
- <dp:input>
- <dp:section1><label for="ctrl_m_p_notificationEMail"><xts:string id="IDS_PERS_TAB_PERSONAL_EMAIL"/></label></dp:section1>
- <dp:section2>
- <utml:input type="text" name="m_p_notificationEMail" size="35" stttype="email" utml:track="false" id="ctrl_m_p_notificationEMail">
- <utml:value>
- <out:value-of select="xtsext:sttInjectUCCIntoStr($user/cm:notificationEMail, 'email', boolean($isBidiEnabled='true'))"/>
- </utml:value>
- <utml:read-only>
- <out:value-of select="not($user/cm:notificationEMail/@modifiable='true') or $noUserProfile"/>
- </utml:read-only>
- </utml:input>
- </dp:section2>
- </dp:input>
- </lyt:section>
- </lyt:layout>
- </out:if>
- <!-- Credentials ============================== -->
- <xsl:call-template name="generate-credentials"/>
- <!-- Data source credentials ============================== -->
- <out:if test="$showDataSourceCredentialsSection">
- <lyt:layout style="1" title="IDS_PERS_TAB_GENERAL_DATASOURCE_CREDENTIAL" border="yes">
- <lyt:section style="padding:0">
- <div id="datasourceCredententialsFrag" style="padding-bottom:20;padding-right:5"/>
- </lyt:section>
- </lyt:layout>
- </out:if>
- <xsl:if test="@mode='preferences'">
- <!-- Groups and Roles ============================== -->
- <lyt:layout style="1" title="IDS_PERS_TAB_PERSONAL_GROUPS_ROLES" border="yes">
- <lyt:section valign="top">
- <out:if test="count($identity/*[local-name() = 'group' or local-name() = 'role']) > 0">
- <dp:list width="55%">
- <dp:section>
- <dp:text width="100%"/>
- <dp:text nospace="nospace">
- <xts:string id="IDS_ENTRIES"/>1 - <out:value-of select="count($identity/*[local-name() = 'group' or local-name() = 'role'])"/>
- </dp:text>
- </dp:section>
- </dp:list>
- </out:if>
- <cp:table name="Groups" iterate="$identity/*[local-name() = 'group' or local-name() = 'role']" width="55%">
- <cp:tableHeader>
- <cp:columnHeader width="20"/>
- <cp:columnHeader width="100%">
- <!-- All of this is to align the header (...> Name) with the contents of the table-->
- <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/> </span>
- <out:text/><xts:string id="IDS_PERS_TAB_PERSONAL_NAME_HEADER"/><out:text/>
- </cp:columnHeader>
- <cp:columnHeader width="40%"><xts:string id="IDS_PERS_TAB_PERSONAL_NAMESPACE_HEADER"/></cp:columnHeader>
- <cp:columnHeader width="20%"><xts:string id="IDS_PERS_TAB_PERSONAL_TYPE_HEADER"/></cp:columnHeader>
- </cp:tableHeader>
- <cp:tableContent>
- <cp:columnContent>
- <out:call-template name="gen-icon">
- <out:with-param name="class" select="./cm:class"/>
- <out:with-param name="hiddenObject" select="./cm:hidden"/>
- </out:call-template>
- </cp:columnContent>
- <cp:columnContent>
- <img border="0" align="absmiddle" height="16" width="20" src="{'{$skin_images}'}path.gif">
- <out:attribute name="alt">
- <cf:do-the-path-link>
- <cf:param name="familytree">cm:ancestors</cf:param>
- <cf:param name="familymember">cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">true</cf:param>
- </cf:do-the-path-link>
- </out:attribute>
- </img>
- <out:text> </out:text>
- <out:value-of select="xtsext:enforceBTD(./cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </cp:columnContent>
- <cp:columnContent>
- <out:value-of select="cm:ancestors/cm:ancestorInfo[cm:objectClass = 'namespace']/cm:title"/>
- </cp:columnContent>
- <cp:columnContent>
- <out:variable name='objClass'><out:value-of select="cm:objectClass"/></out:variable>
- <out:value-of select="/root/objectClass/class[@name= $objClass]"/>
- </cp:columnContent>
- </cp:tableContent>
- </cp:table>
- </lyt:section>
- </lyt:layout>
-
-
- <!-- Capabilities ============================== -->
- <lyt:layout style="1" title="IDS_PERS_TAB_PERSONAL_CAPABILITIES" border="yes">
- <!-- Capabilities table is provided through a fragment -->
- <lyt:section style="padding:0">
- <div id="capabilitiesFrag"/>
- </lyt:section>
- </lyt:layout>
- </xsl:if>
-
- </xsl:template>
-
- <xsl:template name="generate-credentials">
- <out:if test="contains($user/cm:permissions,'write')">
- <utml:input type="hidden" name="h_CAM_action" value="" utml:update="false"/>
- <utml:input type="hidden" name="renew_credential" value="" utml:update="false"/>
- <utml:input type="hidden" name="credential_op" value="" utml:update="false"/>
- <utml:input type="hidden" name="credential_self" utml:update="false">
- <utml:value>
- <out:value-of select="$user/cm:searchPath"/>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="controller_state" value="" utml:update="false"/>
- <out:variable name="credentialIsInitialized" select="/root/list"/>
- <out:if test="$credentialIsInitialized or not('{@mode}' = 'properties')">
- <lyt:layout style="1" title="IDS_PERS_TAB_GENERAL_CREDENTIAL" border="yes">
- <lyt:section>
- <dp:choice>
- <dp:section1 type="hint">
- <xts:string id="IDS_PERS_TAB_GENERAL_CREDENTIAL_DESC"/> 
- <xsl:if test="not(@mode = 'properties')">
- <out:if test="$credentialIsInitialized">
- <xts:string id="IDS_PERS_TAB_GENERAL_RENEWCREDENTIAL_DESC"/> 
- </out:if>
- <out:choose>
- <out:when test="$credentialIsInitialized">
- <utml:a utml:op="maintain" utml:formName="pform">
- <utml:target><out:value-of select="concat($app,'/',$mname)"/></utml:target>
- <utml:href>document.pform.renew_credential.value='true';document.pform.h_CAM_action.value='generateTC';</utml:href>
- <xts:string id="IDS_PERS_TAB_GENERAL_RENEW_CREDENTIAL"/>
- </utml:a>
- </out:when>
- <out:otherwise>
- <utml:a utml:op="maintain" utml:formName="pform">
- <utml:target><out:value-of select="concat($app,'/',$mname)"/></utml:target>
- <utml:href>document.pform.renew_credential.value='false';document.pform.h_CAM_action.value='generateTC';</utml:href>
- <xts:string id="IDS_PERS_TAB_GENERAL_CREATE_CREDENTIAL"/>
- </utml:a>
- </out:otherwise>
- </out:choose>
- </xsl:if>
- </dp:section1>
- </dp:choice>
- </lyt:section>
- <lyt:section noTitle="true">
- <out:if test="$credentialIsInitialized">
- <cf:main-pager-section name="cred" form="pform" width="100%" genDelete="yes">
- <cf:param name="item-path">/root/list/*</cf:param>
- <cf:param name="target">concat($app,'/',$mname)</cf:param>
- <cf:param name="lines-per-page">
- <out:choose>
- <out:when test="key('session-param','linesPerPage')!=''">
- <out:value-of select="key('session-param','linesPerPage')"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
- </out:otherwise>
- </out:choose>
- </cf:param>
- <cf:param name="actions">
- <cp:action>
- <utml:a utml:op="maintain" utml:formName="pform">
- <utml:href>document.pform.m_credsection.value='1';document.pform.controller_state.value='addEntries|navigate';</utml:href>
- <utml:target><out:value-of select="concat($app, '/', $mname)"/></utml:target>
- <out:text/><xts:string id="IDS_COMMAND_ADD"/><out:text/>
- </utml:a>
- </cp:action>
- <cp:action>
- <utml:a onclick="javascript:document.pform.credential_op.value='delete';if(window.preDeletecred)preDeletecred('pform','credential_chk_');" utml:formName="pform">
- <utml:target><out:value-of select="concat($app, '/', $mname)"/></utml:target>
- <out:text/><xts:string id="IDS_REMOVE"/></utml:a>
- </cp:action>
- </cf:param>
- <cf:param name="rows">
- <cp:tableHeader>
- <cp:columnHeader width="16" toggleName="credential_chk_" utlm="utml" noLabel="true"/>
- <cp:columnHeader width="16"/>
- <cp:columnHeader width="100%">
- <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/> </span>
- <out:text/><xts:string id="IDS_NAME"/><out:text/>
- </cp:columnHeader>
- </cp:tableHeader>
- <cp:tableContent>
- <out:variable name="entryLabel">
- <out:value-of select="xtsext:enforceBTD(cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- <out:if test="cm:userName!=''"> (<out:value-of select="cm:userName"/>)</out:if>
- </out:variable>
- <cp:columnContent>
- <input type="checkbox" name="credential_chk_{'{position()}'}" value="{'{cm:searchPath}'}">
- <out:attribute name="aria-label"><xts:string id="IDS_SELECTION_FOR_PAGER_ITEM" encode="html"><xts:param name="pagerItemName"><out:value-of select="$entryLabel"/></xts:param></xts:string></out:attribute>
- </input>
- </cp:columnContent>
- <cp:columnContent>
- <out:call-template name="gen-icon">
- <out:with-param name="showAction" select="false()"/>
- <out:with-param name="hiddenObject" select="cm:hidden"/>
- </out:call-template>
- </cp:columnContent>
- <cp:columnContent>
- <img border="0" align="absmiddle" height="16" width="20" src="{'{$skin_images}'}path.gif">
- <out:attribute name="alt">
- <cf:do-the-path-link>
- <cf:param name="familytree">cm:ancestors</cf:param>
- <cf:param name="familymember">cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">true</cf:param>
- </cf:do-the-path-link>
- </out:attribute>
- </img>
- <out:text> </out:text>
- <out:value-of select="$entryLabel"/>
- </cp:columnContent>
- </cp:tableContent>
- </cf:param>
- </cf:main-pager-section>
- </out:if>
- </lyt:section>
- </lyt:layout>
- </out:if>
- </out:if>
- <out:if test="$credentialExists and key('env-param','renew_credential')='true'">
- <script language="javascript">
- alert("<xts:string id="IDS_PERS_CREDENTIAL_SUCCESS" encode="javascript"/>");
- </script>
- </out:if>
-
- <!-- if the user tried to add a duplicate entry -->
- <script language="javascript">
- <out:if test="/root/duplicateEntry">
- <out:variable name="msg">
- <xts:string id="IDS_DUPLICATE_ENTRY" encode="javascript"/>
- </out:variable>
- window.alert('<out:value-of select="$msg"/>');
- </out:if>
- </script>
-
- <out:if test="/root/env/param[@name='remove_notifications'] != ''">
- <script language="javascript">
- alert("<xts:string id="IDS_PERS_REMOVE_NOTIFICATIONS_SUCCESS" encode="javascript"/>");
- </script>
- </out:if>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
-
- </xsl:stylesheet>
|