Macro Language Reference > PIs > Text > <?buildindex>
  
<?buildindex>
Description
This command will prompt PTC ALD to build an index stream at the point in the text in which it is encountered.
The command works in conjunction with the When instructed value for the Index Generation field on the Index tab of the Create XML Index dialog box. When this option is set, PTC ALD waits until it encounters the <?buildindex> PI before starting the index generation. The dialog is invoked the tindmkxml macro.
* 
When using this instruction, the index entries available at that point in the formatting process will be collected into the index output stream. Future entries will not be included and caution should be used when displaying the index stream if <?buildindex> is used more than once to generate the same index output stream.
Syntax
<?buildindex index:t>
index
The name of the index control stream that should be used to generate the index
Must be specified in double quotes
Related Links