Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
#foreach( $element in $allElements)
#if($foreach.count % 2 != 0)
<tr>
	<th>
		<a style="text-decoration:none;"
			href="http://purl.org/dc/elements/1.1/$element.name().toLowerCase()">$element.name():</a>
	</th>
	<td>
		$entity.getVersionByDate($date).getMetaData().getElementValue($element).toHTML()
	</td>
	#else
	<th>
		<a style="text-decoration:none;"
			href="http://purl.org/dc/elements/1.1/$element.name().toLowerCase()">$element.name():</a>
	</th>
	<td>
		$entity.getVersionByDate($date).getMetaData().getElementValue($element).toHTML()
	</td>
</tr>
#end
#end
New to GrepCode? Check out our FAQ X