Version dev

# `AddSearchpath`

since version 3.1.1

Add a directory on the hard-drive to be added to the publisher’s search path.

## Child elements

(none)

## Parent elements

`AtPageCreation`, `AtPageShipout`, `Case`, `Contents`, `ForAll`, `Layout`, `Loop`, `Otherwise`, `Record`, `SavePages`, `Section`, `Until`, `While`

## Attributes

`select` (XPath expression)
  The path to be added. System dependent.

## Example

    <Switch>
      <Case test="sd:variable-exists('searchpath')">
        <AddSearchpath select="$searchpath" />
      </Case>
    </Switch>

#### On this page