http://onionworks.net/2006/data/application

checkOut (target : xlink) : boolean

With the method “checkOut()”, an element can be checked out in order to edit it and block it against editing by other users.

After editing, the element should be checked in again so that it can be edited by others if necessary. The method "checkIn()" is available for checking in.

<xsl:stylesheet xmlns:app="http://onionworks.net/2006/data/application" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:template match="/">
<xsl:if test="app:checkOut(c.id())">
<xsl:value-of select="'The element was checked out and ist ready to be modified.'" />
<xsl:if test="app:checkIn(c.id))">
<xsl:value-of select="'The element is now checked in again.'" />
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>