Consultor Eletrônico



Kbase P176438: How to embed line feeds in an XML file using ABL/4GL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/30/2010
Status: Unverified

GOAL:

How to embed line feeds in an XML file using ABL/4GL

GOAL:

How to control the length of the text lines in an XML file created with the X-DOCUMENT:SAVE() method

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

A line feed character may be inserted into an XML node of subtype TEXT using ABL code similar to the following:
DEFINE VARIABLE hDoc AS HANDLE NO-UNDO.
DEFINE VARIABLE hLF AS HANDLE NO-UNDO.
hDoc:CREATE-NODE(hLF,"","TEXT").
hLF:NODE-VALUE = CHR(10).