Dc_XMLNode

This forum is for eXpress++ general support.
Post Reply
Message
Author
WernerSt
Posts: 18
Joined: Thu Jan 28, 2010 3:48 am
Contact:

Dc_XMLNode

#1 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dc_XMLNode

#2 Post by rdonnay »

Werner -

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

Roger
The eXpress train is coming - and it has more cars.

Post Reply