npsobj frame

Syntax

npsobj_frame ::=
  <npsobj frame = "name"
  [ defaulttarget = "target" ]
  { other_attribute } >
  content
  </npsobj>

other_attribute ::= string = "string"

Task

This instruction can only be used in a layout (see also Automatically Create Framesets with the NPSOBJ Frame Command). Besides the output file that the CMS creates when exporting a file, a further output file is generated on evaluating this instruction. This file contains the names objName.name.contentType, whereby objName is the name of the exported file, name the name specified in the frame attribute of the tag and contentType the file name extension of the exported file. The output file contains the evaluated content of the instruction.

The instruction is replaced with a frame tag that at least contains the tag attributes name and src. The name attribute is set to name and the src attribute to the names of the output files created through the NPSOBJ-frame instruction. All other attributes (other_attribute) specified in the NPSOBJ-frame instruction are taken unchanged into the frame tag.

If the instruction contains the tag attribute defaulttarget="target", then in the evaluated content all link tags that support the attribute target are provided with this attribute, whereby its value is set to target. A target attribute already existing in the link tag, however, will not be changed. If no defaulttarget is given in the NPSOBJ instruction, then _top will be used as the value for defaulttarget.

NPSOBJ-frame instructions may not be nested.

Example

Please see section Automatically Create Framesets with the NPSOBJ Frame Command for examples.