We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc90b88 commit 6c94aa2Copy full SHA for 6c94aa2
docs/fix/Fix-User-Guide.md
@@ -210,12 +210,15 @@ add_field("rights","$[rights]")
210
`$[rights]` in this case is a compile-time variable which is evaluated on
211
creation of the respective Fix object.
212
213
-The `<vars>` section in the Metamorph definition can be used to set defaults:
+With the fix functions `put_var` and `put_vars` you can set defaults:
214
215
-```xml
216
-<vars>
217
- <var name="rights" value="CC0" />
218
-</vars>
+```perl
+put_var("rights","CC0)
+
+put_vars(
219
+ "another_rights": "CC-BY",
220
+ "additional_rights": "CC-BY-SA"
221
+)
222
```
223
224
For Java implementations: Compile-time variables are passed to Fix as a constructor parameter.
0 commit comments