string()

Used to copy the value of a named string into the document.

Strings defined with a string-set value are referenced as, for example, content: string(Chapter); in running headers.

The required first value is the name of the string.

@top-right {   /* Title in right-hand page header. */
  content: string(Chapter);
}

If multiple elements on one page each set the value of the same named string, then the named string may have several values on that page. The optional second argument of string() specifies which of the possible values to use.

@page Index:right {
  @top-left {
    content: string(IndexTerm, first);
  }

  @top-right {
    content: string(IndexTerm, last);
  }
}