256
edits
No edit summary |
|||
Line 23: | Line 23: | ||
<signature> | <signature> | ||
<variables> | <variables> | ||
<set name="foo" value="bar"> | <set name="foo" value="bar" /> | ||
</variables> | </variables> | ||
</signature> | </signature> | ||
Line 30: | Line 30: | ||
==== Override default value ==== | ==== Override default value ==== | ||
'''NOTE: Only | '''NOTE: Only text element supported for now.''' | ||
To override an element's default value the <default> tag is used. It has three attributes, element, name and value. | |||
'''Example''' | |||
<signature> | |||
<variables> | |||
<default element="text" name="face" value="courier" /> | |||
</variables> | |||
</signature> | |||
The example sets the default attribute ''face'' of the element ''text'' to ''courier''. | |||
=== Layout === | === Layout === |
edits