Page 1 of 1

Dc_XMLNode

Posted: Sun Jan 22, 2012 5:35 am
by WernerSt
Roger,
Using asString() I had to change following line 422 in _dcxml.prg, because the original line produced an CRLF between label and content not accepted from the receiver of the XML-String:
My program line:
aLabel:= {{"id", "F" } }
oHead: addNode( DC_XMLNode():new("Empfaenger", "2729", aLabel ) )

I removed in line 422: .....or. !empty(cAttrib),CRLF,"") only to
iff(Empty(::content), CRLF, "")
now its works like expected.
Perhaps you will consider this change for your next eXpress-Version.

Werner

Re: Dc_XMLNode

Posted: Sun Jan 22, 2012 8:13 am
by rdonnay
Werner -

Thank you for reporting that.
I have made the change for the next release.

Roger