Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:ex="http://schemas.microsoft.com/powershell/2004/04">
- <xsl:attribute-set name="tablestyle01">
- <xsl:attribute name="border">1</xsl:attribute>
- <xsl:attribute name="cellspacing">0</xsl:attribute>
- <xsl:attribute name="cellpadding">0</xsl:attribute>
- <!--<xsl:attribute name="width">100%</xsl:attribute>-->
- </xsl:attribute-set>
- <xsl:template name="booltorus">
- <xsl:param name="value">true</xsl:param>
- <xsl:if test="$value='true' or $value='1'">
- Да
- </xsl:if>
- <xsl:if test="$value='false' or $value='0'">
- Нет
- </xsl:if>
- </xsl:template>
- <xsl:template name="getsize">
- <xsl:param name="value">0</xsl:param>
- <xsl:choose>
- <xsl:when test="round($value div (1024*1024*1024)) > 0">
- <xsl:value-of select="round($value div (1024*1024*1024))"/> GB
- </xsl:when>
- <xsl:when test="round($value div (1024*1024*1024)) = 0">
- <xsl:value-of select="round($value div (1024*1024))"/> MB
- </xsl:when>
- <xsl:otherwise>
- -
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="getdays">
- <xsl:param name="value">0</xsl:param>
- <xsl:value-of select="round($value div (60*60*24))"/>
- </xsl:template>
- <xsl:template name="ExchSchema">
- <xsl:param name="num1" select="0"/>
- <xsl:param name="num2" select="0"/>
- <xsl:choose>
- <xsl:when test="$num1='4397'">Exchange 2000 RTM</xsl:when>
- <xsl:when test="$num1='4406'">Exchange 2000 SP3</xsl:when>
- <xsl:when test="$num1='6870'">Exchange 2003</xsl:when>
- <xsl:when test="$num1='10637' and $num2='10666'">Exchange 2007 RTM</xsl:when>
- <xsl:when test="$num1='11116' and $num2='11221'">Exchange 2007 SP1</xsl:when>
- <xsl:when test="$num1='14622' and $num2='11222'">Exchange 2007 SP2</xsl:when>
- <xsl:when test="$num1='14625' and $num2='11222'">Exchange 2007 SP3</xsl:when>
- <xsl:when test="$num1='14622' and $num2='12640'">Exchange 2010 RTM</xsl:when>
- <xsl:when test="$num1='14726' and $num2='13214'">Exchange 2010 SP1</xsl:when>
- <xsl:when test="$num1='14732' and $num2='14247'">Exchange 2010 SP2</xsl:when>
- <xsl:otherwise>Unknown</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="ServerRole">
- <xsl:param name="value" select="0"/>
- <xsl:choose>
- <xsl:when test="$value='0'">All</xsl:when>
- <xsl:otherwise>Unknown</xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="ExchMode">
- <xsl:param name="value">true</xsl:param>
- <xsl:if test="$value='true' or $value='1'">
- Смешанный
- </xsl:if>
- <xsl:if test="$value='false' or $value='0'">
- Основной
- </xsl:if>
- </xsl:template>
- <xsl:template match="/">
- <html>
- <head>
- <title>Exchange 2003.</title>
- <style>
- td {
- border-top:solid black 1.0pt;border-left:solid black 1.0pt;border-bottom:solid black 1.0pt;
- border-right:solid black 1.0pt;padding:0cm 5.4pt 0cm 5.4pt;
- font-size:12.0pt;font-family:"Times New Roman","serif";color:black;
- margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal
- }
- table {
- <!--width:100.0%;border-collapse:collapse;border:none;-->
- border-collapse:collapse;border:none;
- }
- <!--p {
- margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal
- }-->
- </style>
- </head>
- <body>
- <h1>1. Exchange 2003.</h1>
- <xsl:apply-templates select="//ex:Obj[@N='OrganizationInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='AdmGroupInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='RoutingGroupInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='ServerInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='RGConnectorInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='SMTPConnectorInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='SGInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='DBInfo']"/>
- <xsl:apply-templates select="//ex:Obj[@N='AddrPolicyInfo']"/>
- </body>
- </html>
- </xsl:template>
- <xsl:template name="OrgTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:call-template name="ExchMode">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:B[@N='MixedMode']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:call-template name="ExchSchema">
- <xsl:with-param name="num1" select="ex:I32[@N='SchemaVer']"/>
- <xsl:with-param name="num2" select="ex:I32[@N='ObjVer']"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Forest']"/>
- </td>
- <td>
- <!--<xsl:value-of select="count(//ex:Obj[@N='ServerInfo']/ex:LST/ex:Obj[ex:MS/ex:S[@N='OrgName']=./ex:S[@N='Name']])"/>-->
- <!--<xsl:value-of select="count(//ex:Obj[@N='ServerInfo']/ex:LST/ex:Obj[ex:MS/ex:S[@N='OrgName']=self::node()/ex:S[@N='Name']])"/>-->
- <!--<xsl:value-of select="count(//ex:Obj[@N='ServerInfo']/ex:LST/ex:Obj)"/>-->
- <xsl:value-of select="ex:I32[@N='ServerCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='MbxCount']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='Admins']/ex:LST/ex:S">
- <xsl:value-of select="."/>
- <br/>
- </xsl:for-each>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="AdmGroupTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='ServerCount']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='Admins']/ex:LST/ex:S">
- <xsl:if test=".=''">
- Default admins
- </xsl:if>
- <xsl:value-of select="."/>
- <br/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="RGTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='ServerCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='ConnectorCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='AdmGroup']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="ServerTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Version']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='DomainName']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='SGCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='MDBCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='MbxCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='AdmGroup']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='RG']"/>
- </td>
- <td>
- <xsl:call-template name="ServerRole">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:I32[@N='ServerRole']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- -
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='LegacyDN']"/>
- </td>
- <td>
- <xsl:call-template name="booltorus">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:B[@N='MessTrackEnabled']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='ExchInstallPath']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='ExchDataPath']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="RGConTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='SourceRG']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='SourceBHNames']/ex:LST/ex:S">
- <xsl:if test=".=''">
- All
- </xsl:if>
- <xsl:value-of select="."/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='DestRG']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='TargetBHNames']/ex:LST/ex:S">
- <xsl:value-of select="."/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='Cost']"/>
- </td>
- <td>
- <xsl:call-template name="booltorus">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:B[@N='NoPFConnection']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- По умолчанию,
- <xsl:choose>
- <xsl:when test="ex:Nil[@N='dlMemDefault']">разрешить</xsl:when>
- <xsl:when test="ex:I32[@N='dlMemDefault']='1'">разрешить</xsl:when>
- <xsl:otherwise>запретить</xsl:otherwise>
- </xsl:choose>
- использовать коннектор
- <br/>
- <xsl:if test="ex:Obj[@N='authOrigin']/ex:LST[/ex:S]">
- Есть список разрешенных
- </xsl:if>
- <br/>
- <xsl:if test="ex:Obj[@N='unauthOrigin']/ex:LST[/ex:S]">
- Есть список разрешенных
- </xsl:if>
- </td>
- <td>
- <xsl:if test="self::node()[ex:I32[@N='delivContLength']]">
- Ограничение на письмо: <xsl:value-of select="ex:I32[@N='delivContLength']"/> KB
- <br/>
- </xsl:if>
- Разрешенные типы сообщений:
- <xsl:choose>
- <xsl:when test="ex:I32[@N='heuristics']='4096'">
- Non-systems<br/>
- </xsl:when>
- <xsl:when test="ex:I32[@N='heuristics']='8192'">
- Systems<br/>
- </xsl:when>
- <xsl:when test="ex:I32[@N='heuristics']='12288'">
- -<br/>
- </xsl:when>
- <xsl:otherwise>
- Systems and non-systems<br/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="self::node()[exI32[@N='DisallowPriority']]">
- Отключены приоритеты:
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 1 = 1">
- High
- </xsl:if>
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 2 = 2">
- Normal
- </xsl:if>
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 4 = 4">
- Low
- </xsl:if>
- </xsl:if>
- </td>
- <td>
- -
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- -
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="SMTPConTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='SourceRG']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='SourceBHNames']/ex:LST/ex:S">
- <xsl:if test=".=''">
- All
- </xsl:if>
- <xsl:value-of select="."/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="self::node()[ex:S[@N='DeliveryTo']]">
- Smart-host <xsl:value-of select="ex:S[@N='DeliveryTo']"/>
- </xsl:when>
- <xsl:otherwise>Использовать DNS</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:call-template name="booltorus">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:B[@N='NoPFConnection']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="starts-with(ex:Obj[@N='RoutingList']/ex:LST/ex:S,'Local:')">
- Только эта группа маршрутизации
- </xsl:when>
- <xsl:otherwise>
- Вся организация
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='RoutingList']/ex:LST/ex:S">
- <xsl:value-of select="."/>
- <br/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:choose>
- <xsl:when test="ex:I32[@N='msEXchSmtpOutboundSecurityFlag'] and 4096 = 4096">Да</xsl:when>
- <xsl:otherwise>Нет</xsl:otherwise>
- </xsl:choose>
- </td>
- <td>
- По умолчанию,
- <xsl:choose>
- <xsl:when test="ex:Nil[@N='dlMemDefault']">разрешить</xsl:when>
- <xsl:when test="ex:I32[@N='dlMemDefault']='1'">разрешить</xsl:when>
- <xsl:otherwise>запретить</xsl:otherwise>
- </xsl:choose>
- использовать коннектор
- <br/>
- <xsl:if test="ex:Obj[@N='authOrigin']/ex:LST[/ex:S]">
- Есть список разрешенных
- </xsl:if>
- <br/>
- <xsl:if test="ex:Obj[@N='unauthOrigin']/ex:LST[/ex:S]">
- Есть список разрешенных
- </xsl:if>
- </td>
- <td>
- <xsl:if test="self::node()[ex:I32[@N='delivContLength']]">
- Ограничение на письмо: <xsl:value-of select="ex:I32[@N='delivContLength']"/> KB
- <br/>
- </xsl:if>
- Разрешенные типы сообщений:
- <xsl:choose>
- <xsl:when test="ex:I32[@N='heuristics']='4096'">
- Non-systems<br/>
- </xsl:when>
- <xsl:when test="ex:I32[@N='heuristics']='8192'">
- Systems<br/>
- </xsl:when>
- <xsl:when test="ex:I32[@N='heuristics']='12288'">
- -<br/>
- </xsl:when>
- <xsl:otherwise>
- Systems and non-systems<br/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="self::node()[exI32[@N='DisallowPriority']]">
- Отключены приоритеты:
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 1 = 1">
- High
- </xsl:if>
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 2 = 2">
- Normal
- </xsl:if>
- <xsl:if test="ex:I32[@N='DisallowPriority'] and 4 = 4">
- Low
- </xsl:if>
- </xsl:if>
- </td>
- <td>
- Delivery Option
- </td>
- <td>
- Advanced
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- Notes
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="SGTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Server']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='MDBCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='LogFilePath']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='LogBaseName']"/>
- </td>
- <td>
- <xsl:call-template name="getsize">
- <xsl:with-param name="value">
- <xsl:choose>
- <xsl:when test="self::node()[ex:I64[@N='LogSize']]">
- <xsl:value-of select="ex:I64[@N='LogSize']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="ex:I32[@N='LogSize']"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='LogSysPath']"/>
- </td>
- <td>
- <xsl:call-template name="booltorus">
- <xsl:with-param name="value">
- <xsl:value-of select="ex:I32[@N='CircularLogging']"/>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <!--<xsl:if test="self::node()[ex:DT[@N='LastLogDate']]">
- <xsl:value-of select="ms:format-date(ex:DT[@N='LastLogDate'],'dd.MM.yyyy')"/>
- </xsl:if>-->
- <xsl:value-of select="ex:DT[@N='LastLogDate']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="DBTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Server']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='SGName']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='MbxCount']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='EDBFile']"/>
- </td>
- <td>
- <xsl:call-template name="getsize">
- <xsl:with-param name="value">
- <xsl:choose>
- <xsl:when test="self::node()[ex:I64[@N='EDBSize']]">
- <xsl:value-of select="ex:I64[@N='EDBSize']"/>
- </xsl:when>
- <xsl:otherwise>
- -
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='STMFile']"/>
- </td>
- <td>
- <xsl:call-template name="getsize">
- <xsl:with-param name="value">
- <xsl:choose>
- <xsl:when test="self::node()[ex:I64[@N='STMSize']]">
- <xsl:value-of select="ex:I64[@N='STMSize']"/>
- </xsl:when>
- <xsl:otherwise>
- -
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
- </td>
- <td>
- <xsl:if test="self::node()[ex:I32[@N='IssueWarning']]">
- IssueWarning: <xsl:value-of select="ex:I32[@N='IssueWarning']"/>KB <br/>
- </xsl:if>
- <xsl:if test="self::node()[ex:I32[@N='ProhibitSend']]">
- ProhibitSend: <xsl:value-of select="ex:I32[@N='ProhibitSend']"/>KB <br/>
- </xsl:if>
- <xsl:if test="self::node()[ex:I32[@N='ProhibitSendReceive']]">
- ProhibitSendReceive: <xsl:value-of select="ex:I32[@N='ProhibitSendReceive']"/>KB <br/>
- </xsl:if>
- Keep Deleted Items:
- <xsl:call-template name="getdays">
- <xsl:with-param name="value" select="ex:I32[@N='KeepDelItems']"/>
- </xsl:call-template><br/>
- Keep Deleted Mailbox:
- <xsl:call-template name="getdays">
- <xsl:with-param name="value" select="ex:I32[@N='KeepMBX']"/>
- </xsl:call-template><br/>
- <xsl:if test="ex:I32[@N='NotPermanentlyDelete']=3">
- Do not permanently delete Mbx until backup
- </xsl:if>
- </td>
- <td>
- <xsl:if test="ex:B[@N='NotStartupMount']='true'">
- Do not mount on startup<br/>
- </xsl:if>
- <xsl:if test="ex:B[@N='NoOverride']='true'">Can be overwritten by a restore </xsl:if>
- Default PFDB: <xsl:value-of select="ex:S[@N='PFDB']"/><br/>
- OAB: <xsl:value-of select="ex:S[@N='OAB']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template name="AddrPolicyTemp">
- <tr>
- <td>
- <xsl:value-of select="position()"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Name']"/>
- </td>
- <td>
- <xsl:for-each select="ex:Obj[@N='Info']/ex:LST/ex:S">
- <xsl:value-of select="."/>
- <br/>
- </xsl:for-each>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='Filter']"/>
- </td>
- <td>
- <xsl:value-of select="ex:I32[@N='PolicyOrder']"/>
- </td>
- <td>
- <xsl:value-of select="ex:S[@N='OrgName']"/>
- </td>
- <td>
- </td>
- </tr>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='OrganizationInfo']">
- <h2>1.1. Организация Exchange 2003</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- Режим
- </td>
- <td>
- Схема
- </td>
- <td>
- Лес
- </td>
- <td>
- # серверов
- </td>
- <td>
- # п/я
- </td>
- <td>
- Делегирование
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="OrgTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='AdmGroupInfo']">
- <h2>1.2. Административные группы</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- # серверов
- </td>
- <td>
- Делегирование
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="AdmGroupTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='RoutingGroupInfo']">
- <h2>1.3. Группы маршрутизации</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- # серверов
- </td>
- <td>
- # коннекторов
- </td>
- <td>
- Адм. группа
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="RGTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='ServerInfo']">
- <h2>1.4. Серверы</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- Версия
- </td>
- <td>
- Домен
- </td>
- <td>
- # групп хранения
- </td>
- <td>
- # баз данных
- </td>
- <td>
- # п/я
- </td>
- <td>
- Адм. группа
- </td>
- <td>
- Группа маршрутизации
- </td>
- <td>
- Роль
- </td>
- <td>
- RUS
- </td>
- <td>
- LegacyExchangeDN
- </td>
- <td>
- MessageTrkEnabled
- </td>
- <td>
- Путь установки
- </td>
- <td>
- Путь БД
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="ServerTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='RGConnectorInfo']">
- <h2>1.5. RG-коннекторы</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- RG-источник
- </td>
- <td>
- Серверы источники
- </td>
- <td>
- RG-назначение
- </td>
- <td>
- Целевые серверы
- </td>
- <td>
- Стоимость
- </td>
- <td>
- Отключение PF Referrals
- </td>
- <td>
- Ограничения доставки
- </td>
- <td>
- Ограничение содержимого
- </td>
- <td>
- Параметры доставки
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="RGConTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='SMTPConnectorInfo']">
- <h2>1.6. SMTP-коннекторы</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- RG-источник
- </td>
- <td>
- Серверы-источники
- </td>
- <td>
- Способ доставки
- </td>
- <td>
- Отключение PF Referrals
- </td>
- <td>
- Область действия
- </td>
- <td>
- Адресное пространство
- </td>
- <td>
- Разрешить пересылку (relay)
- </td>
- <td>
- Ограничение доставки
- </td>
- <td>
- Ограничение содержимого
- </td>
- <td>
- Параметры доставки
- </td>
- <td>
- Дополнительные параметры
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="SMTPConTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='SGInfo']">
- <h2>1.7. Группы хранения</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- Сервер
- </td>
- <td>
- # databases
- </td>
- <td>
- Log Path
- </td>
- <td>
- Log Prefix
- </td>
- <td>
- Logs Size
- </td>
- <td>
- System Path
- </td>
- <td>
- Circular Logging
- </td>
- <td>
- First Log Creation Time
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="SGTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='DBInfo']">
- <h2>1.8. БД Почтовых ящиков</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- Сервер
- </td>
- <td>
- Группа хранения
- </td>
- <td>
- # mailboxes
- </td>
- <td>
- EDB Path
- </td>
- <td>
- EDB Size
- </td>
- <td>
- STM Path
- </td>
- <td>
- STM Size
- </td>
- <td>
- Ограничения
- </td>
- <td>
- Дополнительные параметры
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="DBTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- <xsl:template match="//ex:Obj[@N='AddrPolicyInfo']">
- <h2>1.9. Политики получателей</h2>
- <table xsl:use-attribute-sets="tablestyle01">
- <tr>
- <td>
- <p>#</p>
- </td>
- <td>
- Наименование
- </td>
- <td>
- Почтовые домены
- </td>
- <td>
- Фильтр
- </td>
- <td>
- Порядковый номер
- </td>
- <td>
- Организация
- </td>
- <td>
- Примечание
- </td>
- </tr>
- <xsl:for-each select="ex:LST/ex:Obj/ex:MS">
- <xsl:call-template name="AddrPolicyTemp"/>
- </xsl:for-each>
- </table>
- </xsl:template>
- </xsl:stylesheet>
Advertisement
Add Comment
Please, Sign In to add comment