---
name: "PDF::FromHTML::Template::Element::Var"
section: "3pm"
platform: "linux"
package: "libpdf-fromhtml-perl"
version: "0.34-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PDF::FromHTML::Template::Element::Var"
---

# PDF::FromHTML::Template::Element::Var(3pm)

To provide variable support

## NAME

PDF::FromHTML::Template::Element::Var - To provide variable support

## NODE NAME

VAR

## INHERITANCE

PDF::FromHTML::Template::Element

## ATTRIBUTES

- •

  NAME This is the name of the parameter to substitute

## CHILDREN

None

## AFFECTS

Nothing

## DEPENDENCIES

None

## USAGE

```
  <var name="SomeParam"/>
```

## NOTE

In most cases, the use of VAR is unnecessary as the nodes all have the ability to use the $-notation for variablized attributes. For example, the filename for IMAGE or the text for TEXTBOX can be specified by the appropriate attribute.

However, the node is not provided solely for backwards compatibility. There are some situations where the attribute $-notation is inadequate and a VAR node is required. (q.v. TEXTBOX for an example)

## AUTHOR

Rob Kinyon (rkinyon@columbus.rr.com)

## SEE ALSO

TEXTBOX, IMAGE
