<b:value> holds inside a value, similar to a string variable in many programming languages.
You can set a value by using the set attribute (see example 1). To set multiline data or information from other block b:tags, you can use <b:value> as a block tag (see example 2)
If no set attribute is given, <b:value> will output the value it currently holds inside.
Attributes
Examples
Basic example
This is a basic sample of how <b:value> is set and used.
<b:value.familyname set="Smith"/> <h1>Hello World. My name is John <b:value.familyname /></h1>
HTML source output
<h1>Hello World. My name is John Smith</h1>
Setting multiline data and block-tags
Here's an example how multiline data can be inserted into b:value, or information from other tags.<b:value.contactinfo>
Aisti<br/>
Aleksanterinkatu 15 A<br/>
15110 Lahti<br/>
Finland
</b:value.contactinfo>
<b:value.last>
Last updated:
<b:structure name="lastupd" orderby="metadata.modified" direction="desc" amount="1" >
<b:lastupd.metadata.modified/>
</b:structure>
</b:value.last>
<div id="footer">
<div id="contactinfo"><b:value.contactinfo/></div>
<div id="lastupdated"><b:value.last/></div>
</div>
HTML source output
<div id="footer">
<div id="contactinfo">
Aisti<br/>
Aleksanterinkatu 15 A<br/>
15110 Lahti<br/>
Finland
</div>
<div id="lastupdated">
last updated: 02.10.2009
</div>
</div>

