14 lines
397 B
Plaintext

<h3>attribute function</h3>
Returns the value of a specified attribute from a feature.
<h4>Syntax</h4>
<pre>attribute( feature, attribute_name )</pre>
<h4>Arguments</h4>
feature &rarr; a feature<br />
attribute_name &rarr; name of attribute to be returned
<h4>Example</h4>
<pre>attribute( $currentfeature, 'name' ) &rarr; returns value stored in 'name' attribute for the current feature</pre>