WrongUrl and Exception templates in Rss design

main
Inga 🏳‍🌈 14 years ago
parent 64333b8d25
commit 005300835b
  1. 13
      templates/Rss/Exception.xslt
  2. 9
      templates/Rss/WrongUrl.xslt

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/>
<xsl:template name="specificTitle">Îøèáêà</xsl:template>
<xsl:template name="specific">
<exception>
<type><xsl:value-of select="exception/type"/></type>
<message><xsl:value-of select="exception/message"/></message>
<guid><xsl:value-of select="exception/guid"/></guid>
</exception>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="Windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="elems\Main.xslt"/>
<xsl:template name="specificTitle">Íåâåðíûé àäðåñ</xsl:template>
<xsl:template name="specific">
<wrongUrl><xsl:value-of select="path"/></wrongUrl>
</xsl:template>
</xsl:stylesheet>
Loading…
Cancel
Save