Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## WRITE-PROCESSING-INSTRUCTION( ) method

> Creates a processing instruction node in an XML document represented by a SAX-writer object.

> Return Type: LOGICAL

> Applies to: SAX-writer object handle

> Syntax
>     WRITE-PROCESSING-INSTRUCTION( target, data )

> ``target``

> A LONGCHAR expression evaluating to the target of the processing instruction.

> ``data``

> A LONGCHAR expression that evaluates to the data associated with the processing instruction.

> Call this method to add a processing instruction node to the XML document. You can add processing instructions at any time. The SAX-writer object creates the processing instruction by enclosing the CHARACTER expression in open and close processing instruction markers (`<?` and `?>`). For example:

>     <?xml version="1.0"?>

> This method does not change the WRITE-STATUS attribute.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095