123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (C) Copyright IBM Corp. 2005, 2011
- 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).
- -->
- <!-- $Header: //cpscrn/main/templates/cps4/portlets/portal-admin/logicsheets/wizardlogic.xslt#1 $ -->
- <!-- $DateTime: 2008/10/22 11:12:04 $ -->
- <!-- $Change: 25109 $ -->
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:out="dummy-uri"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:wsrp="urn:oasis:names:tc:wsrp:v1:types"
- xmlns:dp="http://developer.cognos.com/schemas/cps/portlets/logicsheets/dialog/presentation/1/"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
- <xsl:template match="/">
- <xsl:apply-templates select="/layout"/>
- </xsl:template>
- <xsl:template match="layout" priority="1">
-
- <!-- COMPILE -->
- <out:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:dp="http://developer.cognos.com/schemas/cps/portlets/logicsheets/dialog/presentation/1/"
- xmlns:wsrp="urn:oasis:names:tc:wsrp:v1:types"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <!-- dummy way of copying namespaces -->
- <xsl:for-each select="namespace::*[. != 'http://www.w3.org/1999/XSL/Transform']">
- <xsl:attribute name="{name()}:dummy" namespace="{.}"/>
- </xsl:for-each>
-
- <!-- construct an 'exclude-result-prefixes' attribute with the list from the source xslt plus our own list -->
- <xsl:attribute name="exclude-result-prefixes">
- <xsl:if test="@exclude-result-prefixes">
- <xsl:value-of select="@exclude-result-prefixes"/>
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:text>xts xtsext dp wsrp SOAP-ENV</xsl:text>
- </xsl:attribute>
- <!-- output html -->
- <out:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- add some useful variables... -->
- <out:variable name="op" select="/root/envelope/SOAP-ENV:Envelope/SOAP-ENV:Body/*[1]"/>
- <out:variable name="pages" select="/root/wizard/page"/>
- <out:variable name="page-id" select="/root/pageId"/>
- <out:variable name="page" select="$pages[id = $page-id]"/>
- <out:variable name="params" select="/root/state/param"/>
- <out:variable name="web-content-root" select="/root/envelope/SOAP-ENV:Envelope/SOAP-ENV:Header/bus:biBusHeader/bus:hdrSession/bus:environmentVars/item[name='WEB_CONTENT_ROOT']/value"/>
- <out:variable name="webcontent">
- <out:choose>
- <out:when test="$web-content-root"><out:value-of select="concat($web-content-root,'/ps')"/></out:when>
- <out:otherwise><out:value-of select="'../ps'"/></out:otherwise>
- </out:choose>
- </out:variable>
- <out:variable name="skincontent">
- <out:choose>
- <out:when test="$web-content-root"><out:value-of select="concat($web-content-root,'/skins')"/></out:when>
- <out:otherwise><out:value-of select="'../skins'"/></out:otherwise>
- </out:choose>
- </out:variable>
-
- <!-- dialoglogic variables -->
- <dp:variables/>
-
- <out:template match="/">
- <out:call-template name="render-content"/>
- </out:template>
- <out:template name="render-content">
- <!-- /COMPILE -->
-
- <xsl:apply-templates select="* | text() | processing-instruction()"/>
-
- <!-- COMPILE -->
- </out:template>
- </out:stylesheet>
- <!-- /COMPILE -->
-
- </xsl:template>
-
- <!--
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- wizard-page
- -->
- <xsl:template match="wizard-page">
- <script>
- function wsrp_rewrite_doAction(sMode)
- {
- var frm = document.wsrp_rewrite_form;
- if (sMode == "next" || sMode == "finish")
- if (!wsrp_rewrite_validate(frm))
- return;
- frm.mode.value = sMode;
- frm.submit();
- }
- <!-- TODO: generate list from declared nodelist or something like /root/*/error -->
- <out:variable name="error" select="/root/error"/>
- <out:if test="$error">
- function wsrp_rewrite_report_errors()
- {
- <out:text>alert("<xts:string id="IDS_PAD_COM_ERROR_GENERIC"/>\n\n</out:text>
- <out:value-of select="xtsext:javascriptencode($error)"/>
- <out:text>");</out:text>
- }
- setTimeout('wsrp_rewrite_report_errors()', 1);
- </out:if>
- </script>
-
- <form name="wsrp_rewrite_form" method="post" action="wsrp_rewrite?wsrp-urlType=blockingAction/wsrp_rewrite">
- <input type="hidden" name="mode" value=""/>
- <input type="hidden" name="source" value="{ '{ $page-id }' }"/>
-
- <!-- TODO: wipe out params when certain changes happen -->
- <out:for-each select="$pages[id != $page-id]">
- <out:if test="$params[starts-with(@name, current()/id)]">
- <out:for-each select="param">
- <out:choose>
- <out:when test="@prefix">
- <out:for-each select="$params[starts-with(@name, current()/@prefix)]">
- <input type="hidden" name="{ '{ @name }' }" value="{ '{ . }' }"/>
- </out:for-each>
- </out:when>
- <out:otherwise>
- <out:variable name="param" select="$params[@name = current()/@name]"/>
- <out:if test="$param">
- <input type="hidden" name="{ '{ @name }' }">
- <out:attribute name="value">
- <out:choose>
- <out:when test="$param">
- <out:value-of select="$param"/>
- </out:when>
- <out:when test="value">
- <out:value-of select="value"/>
- </out:when>
- </out:choose>
- </out:attribute>
- </input>
- </out:if>
- </out:otherwise>
- </out:choose>
- </out:for-each>
- </out:if>
- </out:for-each>
- <table border="0" width="100%" cellspacing="0" cellpadding="0" class="dialogHeader">
- <tr>
- <td valign="top" class="dialogHeaderTitle" width="100%" nowrap="nowrap">
- <xsl:call-template name="output-string">
- <xsl:with-param name="text" select="title"/>
- </xsl:call-template>
- </td>
- <td valign="middle" nowrap="nowrap" class="dialogHeaderLink">
- <a href="javascript:help('{ @helpid }')" class="dialogHeaderLinkColor" onmouseover="window.status='';return true;" onmouseout="window.status='';return true;"><xts:string id="IDS_PRO_HTM_HELP_LINK"/></a>
- </td>
- <td align="right" valign="middle" style="padding-right:3px;">
- <a href="javascript:wsrp_rewrite_doAction('cancel')" onmouseover="window.status='';return true;" onmouseout="window.status='';return true;">
- <img height="14" width="14" vspace="2" border="0" class="dialogClose" onmouseover="this.className = 'dialogCloseOver'" onmouseout="this.className = 'dialogClose'" onmouseup="this.className = 'dialogClose'" src="{'{$skincontent}'}/corporate/portal/images/close.gif">
- <out:attribute name="title"><xts:string id="IDS_PAD_COM_CLOSE"/></out:attribute>
- </img>
- </a>
- </td>
- </tr>
- </table>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <img height="10" width="1" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
-
- <xsl:if test="hint">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" style="padding-left:5px;">
- <tr>
- <td class="dialogHeaderText" align="left">
- <xsl:call-template name="output-string">
- <xsl:with-param name="text" select="hint"/>
- </xsl:call-template>
- </td>
- </tr>
- </table>
-
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td height="10" width="100%">
- <img height="10" width="1" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
- </xsl:if>
-
- <xsl:apply-templates select="*[not(self::title) and not(self::hint)]"/>
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td height="30" width="100%">
- <img height="30" width="1" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
-
- <!-- first: cancel, next, ?can_finish-->
- <!-- middle: cancel, back, next, ?can_finish -->
- <!-- last: cancel, back, finish -->
- <out:variable name="pages" select="/root/wizard/page"/>
-
- <dp:simpleFooter>
- <!-- cancel -->
- <dp:button>
- <a onmouseover="window.status='';return true;" onmouseout="window.status='';return true;" href="javascript:wsrp_rewrite_doAction('cancel')">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_CANCEL"/></dp:buttonText>
- </a>
- </dp:button>
- <!-- back -->
- <out:choose>
- <out:when test="$page/id != $pages[1]/id">
- <dp:button>
- <a onmouseover="window.status='';return true;" onmouseout="window.status='';return true;" href="javascript:wsrp_rewrite_doAction('back')">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_BACK"/></dp:buttonText>
- </a>
- </dp:button>
- </out:when>
- <out:otherwise>
- <dp:button state="inactive">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_BACK"/></dp:buttonText>
- </dp:button>
- </out:otherwise>
- </out:choose>
- <!-- next -->
- <out:choose>
- <out:when test="not($page/id = $pages[last()]/id)">
- <dp:button>
- <a onmouseover="window.status='';return true;" onmouseout="window.status='';return true;" href="javascript:wsrp_rewrite_doAction('next')">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_NEXT"/></dp:buttonText>
- </a>
- </dp:button>
- </out:when>
- <out:otherwise>
- <dp:button state="inactive">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_NEXT"/></dp:buttonText>
- </dp:button>
- </out:otherwise>
- </out:choose>
- <!-- finish -->
- <out:choose>
- <out:when test="$page/id = $pages[last()]/id or $page/canFinish">
- <dp:button>
- <a onmouseover="window.status='';return true;" onmouseout="window.status='';return true;" href="javascript:wsrp_rewrite_doAction('finish')">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_FINISH"/></dp:buttonText>
- </a>
- </dp:button>
- </out:when>
- <out:otherwise>
- <dp:button state="inactive">
- <dp:buttonText><xts:string id="IDS_PRO_CUI_BTN_FINISH"/></dp:buttonText>
- </dp:button>
- </out:otherwise>
- </out:choose>
- </dp:simpleFooter>
-
-
- </form>
-
- <!--
- DEBUG
- <out:variable name="action" select="/root/state/action"/>
- <br/>Mode:<out:value-of select="$action/mode"/>
- <br/>Source:<out:value-of select="$action/source"/>
- <br/>Destin:<out:value-of select="$action/destin"/>
- <out:for-each select="$action/block">
- <br/>Block:<out:value-of select="."/>
- </out:for-each>
- <br/>pageId:<out:value-of select="$page-id"/>
- <out:for-each select="$params">
- <out:sort select="@name"/>
- <br/>param:<out:value-of select="@name"/>=<out:value-of select="."/>
- </out:for-each>
- -->
- </xsl:template>
-
- <xsl:template match="section">
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <xsl:if test="label">
- <tr>
- <td class="formLabel">
- <xsl:call-template name="output-string">
- <xsl:with-param name="text" select="label"/>
- </xsl:call-template>
- </td>
- </tr>
- </xsl:if>
- <td style="padding-left:5px;">
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <xsl:apply-templates select="*[not(self::label)]" mode="section"/>
- </table>
- </td>
- </table>
- </xsl:template>
-
- <xsl:template match="table">
- <table border="0" cellspacing="0" cellpadding="2" width="100%">
- <xsl:apply-templates select="row"/>
- </table>
- </xsl:template>
-
- <xsl:template match="table[@type = 'checkbox']">
- <table width="100%" border="0" cellpadding="2" cellspacing="0" class="cctable">
- <xsl:copy-of select="@*"/>
- <tr class="tableHeader">
- <xsl:for-each select="header/col">
- <td height="10" class="tableTitle" valign="left" nowrap="nowrap" style="padding-left:2px;padding-top:2px;">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </td>
- <xsl:if test="position() != last()">
- <td height="15" width="1">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="tableHeaderDivider">
- <img width="1" height="15" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
- </td>
- </xsl:if>
- </xsl:for-each>
- </tr>
- <xsl:apply-templates select="*[not(self::header)]"/>
-
- </table>
- </xsl:template>
-
- <xsl:template match="*" mode="section">
- <tr>
- <td>
- <xsl:apply-templates select="."/>
- </td>
- </tr>
- <tr>
- <td>
- <img width="1" height="5" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="group">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="row">
- <tr>
- <xsl:apply-templates select="col"/>
- </tr>
- </xsl:template>
-
- <xsl:template match="col">
- <td>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </td>
- <xsl:if test="ancestor::table[1][@type = 'checkbox']">
- <xsl:if test="position() != last()">
- <td/>
- </xsl:if>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="control">
- <xsl:if test="*[not(self::name or self::value)]">
- <xsl:apply-templates select="*[not(self::name or self::value)]"/>
- <br/>
- </xsl:if>
- <xsl:call-template name="output-control"/>
- <!--
- <xsl:if test="text | label">
- <xsl:choose>
- <xsl:when test="parent::section">
- <tr>
- <td>
- <xsl:apply-templates/>
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="label">formLabel</xsl:when>
- <xsl:otherwise>formText</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:call-template name="output-string">
- <xsl:with-param name="text" select="text"/>
- </xsl:call-template>
- </td>
- </tr>
- </xsl:when>
- <xsl:when test="parent::col">
- <xsl:apply-templates/>
- <xsl:call-template name="output-string">
- <xsl:with-param name="text" select="text"/>
- </xsl:call-template>
- <br/>
- </xsl:when>
- </xsl:choose>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="parent::section">
- <tr>
- <td>
- <xsl:call-template name="output-control"/>
- </td>
- </tr>
- </xsl:when>
- <xsl:when test="parent::col">
- <xsl:call-template name="output-control"/>
- </xsl:when>
- </xsl:choose>
- -->
- </xsl:template>
-
- <xsl:template match="label">
- <xsl:choose>
- <xsl:when test="@type = 'separator'">
- <table border="0" cellpadding="0" cellspacing="0">
- <xsl:copy-of select="@*[not(@name = 'id' or @name = 'type')]"/>
- <tr>
- <!--
- <td height="1" width="8">
- <img height="1" width="8" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- -->
- <td valign="middle" nowrap="nowrap" class="formLabel">
- <xsl:call-template name="output-string"/>
- <xsl:text> </xsl:text>
- </td>
- <td width="100%" valign="middle" align="right">
- <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td class="dialogDivider">
- <img height="1" width="1" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
- </td>
- <td height="1" width="10">
- <img height="1" width="10" alt="" src="{'{$webcontent}'}/images/space.gif"/>
- </td>
- </tr>
- </table>
- </xsl:when>
- <xsl:otherwise>
- <span class="formLabel">
- <xsl:call-template name="output-string"/>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="text">
- <span class="formText">
- <xsl:call-template name="output-string"/>
- </span>
- </xsl:template>
-
- <xsl:template match="name"/>
-
- <xsl:template name="output-string" match="string">
- <xsl:param name="text" select="."/>
- <xsl:choose>
- <xsl:when test="$text/@id">
- <xts:string id="{ $text/@id }"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="node()"/>
- <!--
- <xsl:value-of select="$text"/>
- -->
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template name="output-control">
- <xsl:param name="control" select="."/>
- <!--
- - get param from page
- - use name
- -->
- <xsl:choose>
- <xsl:when test="$control/@type = 'radio'">
- <!-- if param with same name and value, check -->
- <out:variable name="name" select="'{ $control/@ref }'"/>
- <out:variable name="value" select="'{ $control/@value }'"/>
- <input name="{ '{ $name }' }">
- <xsl:copy-of select="$control/@*[name() != 'ref' and name() != 'checked']"/>
- <out:variable name="param" select="$params[@name = $name]"/>
- <out:if test="$param = $value">
- <out:attribute name="checked">checked</out:attribute>
- </out:if>
- </input>
- </xsl:when>
- <xsl:when test="$control/@type = 'checkbox'">
-
- <!-- if param with same name and value, check -->
- <xsl:choose>
- <xsl:when test="$control/@prefix">
- <out:variable name="unique-name">
- <xsl:apply-templates select="name/node()"/>
- </out:variable>
- <out:variable name="name" select="concat('{ $control/@prefix }', $unique-name)"/>
- <out:variable name="value" select="'{ $control/@value }'"/>
- </xsl:when>
- <xsl:otherwise>
- <out:variable name="name" select="'{ $control/@name }'"/>
- <out:variable name="value" select="'{ $control/@value }'"/>
- </xsl:otherwise>
- </xsl:choose>
- <out:variable name="param" select="$params[@name = $name]"/>
-
- <input name="{ '{ $name }' }">
- <xsl:copy-of select="$control/@*[name() != 'ref' and name() != 'prefix' and name() != 'name' and name() != 'checked']"/>
- <!-- checked -->
- <!-- if default is checked, set check when no param -->
- <out:choose>
- <out:when test="$param">
- <out:if test="$param = $value">
- <out:attribute name="checked">checked</out:attribute>
- </out:if>
- </out:when>
- <xsl:if test="$control/@checked">
- <out:otherwise>
- <out:attribute name="checked">checked</out:attribute>
- </out:otherwise>
- </xsl:if>
- </out:choose>
- </input>
- </xsl:when>
- <xsl:when test="$control/@type = 'textarea'">
- <out:variable name="name" select="'{ $control/@ref }'"/>
- <textarea name="{ '{ $name }' }">
- <xsl:copy-of select="$control/@*[name() != 'ref' and name() != 'type']"/>
- <out:variable name="param" select="$params[@name = $name]"/>
- <out:choose>
- <out:when test="$param">
- <out:value-of select="$param"/>
- </out:when>
-
- <!-- check for authored defaults -->
- <xsl:choose>
- <xsl:when test="$control/value">
- <out:otherwise>
- <xsl:apply-templates select="$control/value/node()"/>
- </out:otherwise>
- </xsl:when>
- <xsl:when test="$control/@value">
- <out:otherwise>
- <xsl:value-of select="$control/@value"/>
- </out:otherwise>
- </xsl:when>
- </xsl:choose>
-
- </out:choose>
- </textarea>
- </xsl:when>
- <xsl:when test="$control/@type = 'select'">
- <!-- if param with same name and value, check -->
- <out:variable name="name" select="'{ $control/@ref }'"/>
- <out:variable name="value" select="'{ $control/@value }'"/>
- <select name="{ '{ $name }' }">
- <xsl:copy-of select="$control/@*[name() != 'ref']"/>
- <out:variable name="param" select="$params[@name = $name]"/>
- <out:if test="$param = $value">
- <out:attribute name="checked">checked</out:attribute>
- </out:if>
- </select>
- </xsl:when>
- <xsl:otherwise>
- <out:variable name="name" select="'{ $control/@ref }'"/>
- <input name="{ '{ $name }' }">
- <xsl:copy-of select="$control/@*[name() != 'ref' or name() != 'value']"/>
- <out:variable name="param" select="$params[@name = $name]"/>
- <out:variable name="default" select="$page/param[@name = $name]/value"/>
- <out:attribute name="value">
- <out:choose>
- <out:when test="$param">
- <out:value-of select="$param"/>
- </out:when>
- <out:when test="$default">
- <out:value-of select="$default"/>
- </out:when>
-
- <!-- check for authored defaults -->
- <xsl:choose>
- <xsl:when test="$control/value">
- <out:otherwise>
- <xsl:apply-templates select="$control/value/node()"/>
- </out:otherwise>
- </xsl:when>
- <xsl:when test="$control/@value">
- <out:otherwise>
- <xsl:value-of select="$control/@value"/>
- </out:otherwise>
- </xsl:when>
- </xsl:choose>
-
- </out:choose>
- </out:attribute>
- </input>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="separator">
- <img alt="" src="{'{$webcontent}'}/images/space.gif">
- <xsl:copy-of select="@*"/>
- </img>
- </xsl:template>
-
-
- <xsl:template match="*|@*|text()|processing-instruction()" priority="-1">
- <xsl:copy>
- <xsl:apply-templates select="* | @* | text() | processing-instruction()"/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
|