undoCheckOut (target : xlink) : boolean

If changes to checked-out elements are to be discarded, there is the method “undoCheckOut”. If this method is executed, the element is again in the version in which it was last checked in.

<xsl:stylesheet xmlns:app="" xmlns:xsl="" xmlns:onion="" version="1.0">
<xsl:template match="/">
<xsl:if test="app:undoCheckOut("> Discarding changes to the object. </xsl:if>
Discarding changes to the object