processing-instruction Full Description |
|
Syntaxprocessing-instruction pattern condition? action* Purpose A rule selected when a processing instruction occurs whose entire text matches the specified pattern and the specified condition is satisfied. As with other rules, OmniMark performs
Suppose a document contains " processing-instruction "newpage" output "\newpage{}" The following example illustrates recreating the original processing instruction entity reference if a processing instruction was entered with such a reference, and recreating the processing instruction itself in all other cases:
processing-instruction named any* => pi-entity-name output "&%x(pi-entity-name);" processing-instruction valued any* => pi-text output "" |