class proc_instruction : string -> string -> Pxp_core_types.rep_encoding ->
object
.. end
method target : string
Creation:
new proc_instruction a_target a_value
creates a new proc_instruction object with the given target string and
the given value string.
Note: A processing instruction is written as <?target value?>.
method value : string
method encoding : Pxp_core_types.rep_encoding
method write : Pxp_core_types.output_stream -> Pxp_core_types.encoding -> unit
write os enc:
Writes the <?...?> PI to 'os' as 'enc'-encoded string.
method parse_pxp_option : string * string * (string * string) list
Parses a PI containing a PXP option. Such PIs are formed like:
<?target option-name option-att="value" option-att="value" ... ?>
The method returns a triple
(target, option-name, option-att, value; ...
)
or raises Error.