<?xml version="1.0" encoding="ISO-8859-1"?><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  <title>available</title>
 </head>
 <body bgcolor="#FFFFFF">
  <table border="0" width="100%">
   <tr>
    <td><font size="6"><strong>available</strong></font></td>
    <td align="right"><a href="map_element.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="cat_task.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
  <hr size="1" />
  <div><a name="available_description"></a>
   		
   <h2>Description</h2>
   		
   <p>
    			Checks if specified resource is available and sets the value of a variable depending on the result.
    		
   </p>
   	
  </div>
  <div><a name="available_parameters"></a>
   		
   <h2>Parameters</h2>
   
   		
   <dl>
    			
    <dt>resource</dt>
    <dd><i>Description: </i>Name of a resource. Currently files and directories are supported
     <p><i>Domain: </i>Valid filename/directoryname
     </p>
     <p><i>Default: </i>-
     </p>
    </dd>
    
    			
    <dt>variable</dt>
    <dd><i>Description: </i>variable which reflects the result
     <p><i>Domain: </i>valid variable name
     </p>
     <p><i>Default: </i>-
     </p>
    </dd>
    
    			
    <dt>true_value</dt>
    <dd><i>Description: </i>result value of positive comparison
     <p><i>Domain: </i>-
     </p>
     <p><i>Default: </i>true
     </p>
    </dd>
    
    			
    <dt>false_value</dt>
    <dd><i>Description: </i>result value of negative comparison
     <p><i>Domain: </i>-
     </p>
     <p><i>Default: </i>false
     </p>
    </dd>
    
    		
   </dl>
   	
  </div>
  <div><a name="available_specification"></a>
   		
   <h2>RNG Specification</h2>
   
   		<pre>
  &lt;define name="available"&gt;
    &lt;element name="available"&gt;
      &lt;ref name="dir_if_unless"/&gt;
      &lt;attribute name="resource"/&gt;
      &lt;attribute name="variable"/&gt;
      &lt;optional&gt;
        &lt;attribute name="true_value"/&gt;
      &lt;/optional&gt;
      &lt;optional&gt;
        &lt;attribute name="false_value"/&gt;
      &lt;/optional&gt;
    &lt;/element&gt;
  &lt;/define&gt;

	</pre>
   	</div>
  <div><a name="available_examples"></a>
   		
   <h2>Examples</h2>
   	<pre>
  &lt;available resource="${GOBO}/Readme.md" variable="available"/&gt;

	</pre>
   	</div>
  <hr size="1" />
  <table border="0" width="100%">
   <tr>
    <td>
     <address><font size="2"><b>Copyright © 2002-2005, Sven Ehrke</b><br /><b>mailto:</b><a href="mailto:ericb@gobosoft.com">ericb@gobosoft.com</a><br /><b>http://</b><a href="http://www.gobosoft.com">www.gobosoft.com</a><br /><b>Last Updated: </b>7 July 2005</font></address>
    </td>
    <td align="right" valign="top"><a href="http://www.gobosoft.com"><img src="image/home.gif" alt="Home" border="0" /></a><a href="overview.html"><img src="image/toc.gif" alt="Toc" border="0" /></a><a href="map_element.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="cat_task.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
 </body>
</html>