PreviousNextIndex

NODE-VALUE-TO-LONGCHAR( ) method

Copies the contents of an XML X-noderef node to a LONGCHAR, and optionally converts the contents to a specific code page.

Return type: LOGICAL

Applies to: X-noderef object handle

Syntax
NODE-VALUE-TO-LONGCHAR( longchar [ codepage ] ) 

longchar
codepage

NODE-VALUE-TO-LONGCHAR( ) frees the memory currently allocated by longchar (if any), allocates sufficient memory to the LONGCHAR to accommodate the node, and copies the node to the LONGCHAR.

If X-NODEREF:NODE-VALUE is the empty string (""), the resulting longchar has a size of zero length.

For more information on accessing XML documents using the Document Object Model (DOM) interface, see OpenEdge Development: Working with XML.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex