<reference language="echovars">

	<tag contained="true" type="comment">
		<title>Current Variable</title>
		<syntax>%echo var="current"</syntax>
		<description>
		<p>Prints a path to the current directory from the root of the site.</p>
		</description>		
		<example>
		&lt;meta name="keywords" content="&lt;!--%echo var="current" --&gt;"&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document. Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>

	<tag contained="true" type="comment">
		<title>Directory Variable</title>
		<syntax>%echo var="directory/"</syntax>
		<description>
		<p>Prints a path to the current directory from the root of the site, followed by a slash.</p>
		</description>		
		<example>
		&lt;a href="/&lt;!--%echo var="directory/" --&gt;index.html"&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document. Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>	

	<tag contained="true" type="comment">
		<title>Parent Variable</title>
		<syntax>%echo var="parent"</syntax>
		<description>
		<p>Prints the path from the site root to the directory that contains the current directory (i.e., one directory "above" the current location).</p>
		</description>		
		<example>
		&lt;a href="/&lt;!--%echo var="parent" --&gt;index.html"&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document.
				Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>

	<tag contained="true" type="comment">
		<title>Relative Root Variable</title>
		<syntax>%echo var="relativeRoot/"</syntax>
		<description>
		<p>Prints the relative path from the current directory to the staging root (i.e., "../../currentdir/"). This variable is particularly useful when used in PCFs or utilized in XSL transformations.</p>
		</description>		
		<example>
		&lt;config&gt;&lt;!--%echo var="relativeRoot/" --&gt;resources/config/standard.xml&lt;/config&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document.
				Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>	

	<tag contained="true" type="comment">
		<title>Includes Variable</title>
		<syntax>%echo var="includes"</syntax>
		<description>
		<p>Prints the path from the site root to the parent directory and adds a trailing "includes" directory (i.e., "currentdir/includes").</p>
		</description>		
		<example>
		&lt;a href="&lt;!--%echo var="includes" --&gt;/leftnav.html"&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document.
				Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>	

	<tag contained="true" type="comment">
		<title>Common Tree Variable</title>
		<syntax>%echo var="commontree"</syntax>
		<description>
		<p>Prints the name of the current directory.</p>
		</description>		
		<example>
		&lt;a href="/&lt;!--%echo var="commontree" --&gt;/index.html"&gt;
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document.
				Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>	

	<tag contained="true" type="comment">
		<title>Site Name Variable</title>
		<syntax>%echo var="sitename"</syntax>
		<description>
		<p>Prints the name of the current site (determined by an administrator).</p>
		</description>		
		<example>
		This page is part of the &lt;!--%echo var="sitename" --&gt; site.
		</example>
		<parameters>
			<parameter required="true">
				<title>var</title>
				<syntax>
					<attribute>var</attribute>
					<option>
						<value>string variable name</value>
					</option>
				</syntax>					
				<description>
				<p>
				The name of the variable which should be printed into the new document.
				Variable can be defined by a TCF or be a directory variable.
				</p>				
				</description>
			</parameter>
		</parameters>	
	</tag>	
	
	
	
	
	
	<!--
		<tag>
		<title></title>
		<syntax></syntax>
		<description>
		
		</description>		
		<example>
		
		</example>
		<parameters>
			<parameter>
				<title></title>
				<syntax></syntax>
				<description>
				
				</description>
				<example>
				
				</example>
			</parameter>
			<parameter>
				<title></title>
				<syntax></syntax>
				<description>
				
				</description>
				<example>
				
				</example>
			</parameter>			
		</parameters>	
	</tag>
	
	-->

</reference>

