/Generator/xsl/template_lua_table.xsl
http://awoe.googlecode.com/ · Extensible Stylesheet Language Transformations · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · 112d21adfbd8a799e6c829f1204ea712 MD5 · raw file
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- collections = {
- <xsl:for-each select="catalog/cd">
- {title = "<xsl:value-of select="title" />" , artist = "<xsl:value-of select="artist" />"},
- </xsl:for-each>
- }
- </xsl:template>
- </xsl:stylesheet>