Âûäåëåííûé òåêñò â ñëåäóþùåì êîëå ïîêàçûâàåò, êàê ñîçäàþòñÿ â øàáëîíå àäðåñà URL Microsoft Dynamics AX.

XSLT

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>

</head>

<body>

<xsl:value-of select="alert/message"/>

<br/>

<h2>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToBusinessData"/></xsl:attribute>

Ïåðåéòè <xsl:value-of select="alert/for"/>

</a>

</h2>

<br/>

 <b>Èíôîðìàöèÿ îá îïîâåùåíèÿõ Axapta</b>

<br/>

<table border="0" width="100%">

 <tr width="25%">

          <td><b>Âñåãî ñîáûòèé:</b></td>

 <td><xsl:value-of select="alert/occurred"/></td>

 </tr>

 <tr>

  <td width="25%"><b>Äëÿ:</b></td>

 <td><xsl:value-of select="alert/for"/></td>

 </tr>

 <tr>

  <td width="25%"><b>Êîìïàíèÿ:</b></td>

 <td><xsl:value-of select="alert/company"/></td>

 </tr>

 <tr>

  <td width="25%"><b>Ñîáûòèå:</b></td>

 <td><xsl:value-of select="alert/event"/></td>

 </tr>

  <tr>

 <td width="25%">

 <b>Data:</b>

 </td>

 <td>

 <xsl:value-of select="alert/data"/>

 </td>

  </tr>

</table>

<br/>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToAlert"/>

</xsl:attribute>

Ïðîñìîòð îïîâåùåíèé

</a>

<br/>

<a>

<xsl:attribute name="href">Dynamics://<xsl:value-of select="alert/LinkToAlertRule"/> </xsl:attribute>

Óïðàâëåíèå ïðàâèëàìè îïîâåùåíèé

</a>

<br/>

<br/>

<b>íîòà:</b> Âû ïîëó÷èòå ñîîáùåíèå îá îøèáêå ïðè âûçîâå ññûëîê, åñëè ïðîãðàììà Microsoft Dynamics AX íå ìîæåò áûòü çàïóùåíà ñ äàííîãî êîìïüþòåðà.

</body>

</html>

</xsl:template>

</xsl:stylesheet>

Ñì. òàêæå