insert_pi
insert_pi (contents[, doc[, showErr]])
This function inserts a generic processing instruction with the given contents. In Arbortext Editor, a processing instruction is represented with a _pi element. If doc is not supplied or is 0, then the current document is used. If showErr is supplied and is not 0, then any errors from the operation are reported.
The function returns 1 if the processing instruction is inserted successfully. Otherwise, 0 is returned.