SigServer:SignatureXML: Difference between revisions

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 works for the text element.'''
'''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 ===
256

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.