Create a gist now

Instantly share code, notes, and snippets.

Create a mediawiki table from a pentabarf xsc file
<?xml version="1.0" encoding="iso-8859-15"?>
<xsl:stylesheet version="1.0"
<xsl:template match="/">
{| class="wikitable" valign="top"
<xsl:for-each select="iCalendar/vcalendar/vevent[category='Lecture']">| [<xsl:value-of select="url" /><xsl:text> </xsl:text><xsl:value-of select="pentabarf:title" />]
| <xsl:for-each select="attendee">
<xsl:value-of select="normalize-space()" />
<xsl:if test="not(position() = last())">, </xsl:if>
| <xsl:value-of select="summary" />
| <xsl:value-of select="duration" />
| <xsl:value-of select="pentabarf:language" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment