Variable reference processor
Core v2.2.0
The processor is an alternative to
that uses name
attribute instead of var
. Both define variables - this is a legacy syntax
maintained for compatibility.
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://org.webharvest/schema/2.1/core">
<!-- Legacy syntax -->
<var name="apiUrl">https://api.example.com</var>
<!-- Modern syntax (preferred) -->
<def var="apiUrl">https://api.example.com</def>
</config>