Skip to content

Instantly share code, notes, and snippets.

@saerdnaer
Created August 11, 2011 11:49
Show Gist options
  • Save saerdnaer/1139460 to your computer and use it in GitHub Desktop.
Save saerdnaer/1139460 to your computer and use it in GitHub Desktop.
Pentabarf XML to CSV for label writer
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" indent="no" encoding="utf-8" />
<xsl:template match='text()|@*' />
<xsl:template match="event"><xsl:text>
</xsl:text>"<xsl:value-of select="@id" />"; "<xsl:value-of select="title" />"; "<xsl:value-of select="../../@index" />"; "<xsl:value-of select="start" />"; "<xsl:value-of select="room" />"</xsl:template>
</xsl:transform>
@saerdnaer
Copy link
Author

Used at CCCamp2011 with Dynamo Label Printer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment