http://onionworks.net/2006/data/editing
undoCheckOut (target : xlink) : boolean
The checked-out document is discarded with “undoCheckOut”. This means that all changes made since the last checkIn are not saved. If the document has not yet been returned by this point, then it is deleted.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:edit="http://onionworks.net/2006/data/editing" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:template match="/">
</xsl:stylesheet><xsl:if test="edit:login('testuser', 'test')">
</xsl:template><xsl:if test="edit:undoCheckOut(c.id())">The document was discarded.</xsl:if>
<xsl:value-of select="edit:logout()" />
</xsl:if>Discarding a document