Name

interpolate_itl_references — allow ITL interpolation of reference-based ITL attributes

VALUE

0 | 1

DEFAULT

0

DESCRIPTION

When the pragma is enabled, ITL interpolation of reference-based ITL attributes is enabled.

In other words, suppose that you execute the following code:

EXAMPLES

Example: Enable interpolate_itl_references

The pragma allows the following type of code:

[pragma interpolate_itl_references]

[tmp testing]foobar'ed[/tmp]

[record
  table=inventory
  key=newkey
  col.quantity=300
  col.stock_message="[scratch testing]"
]

NOTES

AVAILABILITY

interpolate_itl_references is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0 (1/1 contexts shown):

Source: lib/Vend/Parser.pm
Line 210 (context shows lines 200-214)


}
next if $old;
if(! $attr) {
  $attr->{OLD} = $val if defined $attr;
  next;
}
if(defined $element) {
#::logDebug("Found element: $element val=$val");
  $val = Vend::Interpolate::interpolate_html($val)
    if  $::Pragma->{interpolate_itl_references}
    and $val =~ /\[\w[-\w]*\s+.*]/s;
  if(! ref $attr{$attr}) {
    if ($element =~ /[A-Za-z]/) {
      $attr{$attr} = { $element => $val };

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!