MediaWiki:RC.xsl

From Calidus HUB

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

 <xsl:output method="html" indent="yes"/>
 <xsl:template match="api/query/recentchanges">
   <html>

<head> <style> body {

   font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
   margin: 0;
   padding: 0;

} table {

   border-collapse: collapse;

} table thead tr {

   background-color: grey;
   color: white;

} table tbody tr {

   vertical-align: top;

} </style> </head>

     <body>

Recent Changes

<thead> <xsl:for-each select="rc[1]/@*">
             </xsl:for-each>
</thead> <tbody> <xsl:for-each select="rc"> <xsl:for-each select="@*">
               </xsl:for-each>
</xsl:for-each> </tbody>
<xsl:value-of select="name()"/>
<xsl:value-of select="."/>
     </body>
   </html>
 </xsl:template>

</xsl:stylesheet>