Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am xokomola on github.
* I am xokomola (https://keybase.io/xokomola) on keybase.
* I have a public key ASB2V5DIfJs5T9ID5mZa9kBM2XsE3G4i6NChSocSDHU0sgo
To claim this, I am signing this object:
@xokomola
xokomola / example-table.xml
Created December 21, 2016 14:43
Create ODS Spreadsheet with XQuery and BaseX
<tables>
<table name="Sheet 1">
<thead>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
</thead>
<tbody>
@xokomola
xokomola / identity-copy-2.xslt
Created January 3, 2010 11:40
XSLT identity transforms
<!-- From http://ajwelch.blogspot.com/2008/01/identity-transform-for-xslt-20.html -->
<xsl:template match="element()">
<xsl:copy>
<xsl:apply-templates select="@*,node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="attribute()|text()|comment()|processing-instruction()">
<xsl:copy/>
</xsl:template>