text: <?xml version="1.0" encoding="UTF-8"?>
  
  <!--
   * See the NOTICE file distributed with this work for additional
   * information regarding copyright ownership.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
   * the License, or (at your option) any later version.
   *
   * This software is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * Lesser General Public License for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License along with this software; if not, write to the Free
   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
  
  <xwikidoc>
    <web>ReleaseCode</web>
    <name>ReleaseSheet</name>
    <language/>
    <defaultLanguage/>
    <translation>0</translation>
    <parent>ReleaseCode.WebHome</parent>
    <creator>xwiki:XWiki.Admin</creator>
    <author>xwiki:XWiki.Admin</author>
    <customClass/>
    <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
    <version>1.1</version>
    <title>#set($version=$doc.getObject("ReleaseCode.ReleaseClass").getProperty("version").getValue())#if("$!version" != "")Release for version $version#{else}New Release for version $request.version#end</title>
    <template/>
    <defaultTemplate/>
    <validationScript/>
    <comment/>
    <minorEdit>false</minorEdit>
    <syntaxId>xwiki/2.1</syntaxId>
    <hidden>true</hidden>
    <content>{{velocity output="false"}}
  #if ($request.version)
    $doc.set('version', $request.version)
  #end
  #if ("$!{doc.getValue('releaseManagers')}" == '')
    $doc.set('releaseManagers', $services.model.serialize($xcontext.userReference, 'default'))
  #end
  {{/velocity}}
  
  {{velocity}}
  #if ($xcontext.action == "edit" || $xcontext.action == "inline")
    $doc.use("ReleaseCode.ReleaseClass")
    Version: $doc.display("version")
    Release Managers: $doc.display("releaseManagers")
    Release Date: $doc.display("releaseDate")
  #else
    ## Note: We use the include macro below to circumvent the "nested script" execution issue...
    {{include reference="ReleaseCode.ReleaseSheetHeader"/}}
  
    {{include reference=""/}}
  #end
  {{/velocity}}</content>
  </xwikidoc>
  