Re: Converting text containing character refs

2016-12-08 Thread Timothy Tse
Hi John, Have you tried using the command DOM GET XML ELEMENT VALUE? http://doc.4d.com/4Dv15R5/4D/15-R5/DOM-GET-XML-ELEMENT-VALUE.301-2937609.en.html For example: $xml: “Test& $ref:=DOM Parse XML Variable($xml) DOM GET XML ELEMENT VALUE($ref;$val) $val returns “Text&" On Dec 4, 2016, at 9:14 PM

slightly off

2016-12-08 Thread Charles Miller
Hi All, I have a small customer that has no in house IT staff. They use another consultant for OS related stuff. There are an all mac shop, which currently has an internal drive mounted for all that has documents on it. They want to move to BOX and have all in the cloud. What are others doing re ba

RE: slightly off

2016-12-08 Thread Joshua Hunter
Chuck, You aren't paranoid (at least not overly paranoid). Even if they aren't locked out by a government, the company they are storing with may very well have an issue. I have had a similar thing happen to me: All my stuff in one place. That company simply forgot I existed as a customer in the

Re: Converting text containing character refs

2016-12-08 Thread John Baughman
Hi Tim, I am using DOM GET XML ELEMENT VALUE and & is not being converted. I have declared the value parameter as text and I was surprised that the character refs were not being converted… C_OBJECT($categoryObject) WEB SERVICE GET RESULT($blob;"XMLOut";*) $resRoot:=DOM Parse XML variab

Re: Converting text containing character refs

2016-12-08 Thread Keisuke Miyako
you can confirm that the command converts the five XML 1.0 entities: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references $xml:="&><'"" $dom:=DOM Parse XML variable($xml) DOM GET XML ELEMENT VALUE($dom;$e) DOM CLOSE XML($dom) maybe your XML contains "&" as a value?

Re: Converting text containing character refs

2016-12-08 Thread John Baughman
> On Dec 8, 2016, at 2:44 PM, Keisuke Miyako wrote: > > you can confirm that the command converts the five XML 1.0 entities: > > https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references > >

Re: Converting text containing character refs

2016-12-08 Thread Bruno LEGAY
Hi, Sorry for late reply, I did not notice the original post… As Timothy said, 4D xml dom commands always convert escaped characters into plain text when reading. This applies to DOM GET XML ELEMENT VALUE, DOM GET XML ATTRIBUTE BY NAME, etc When writing you could disable the automatic encod

Re: Converting text containing character refs

2016-12-08 Thread John Baughman
> On Dec 8, 2016, at 6:55 PM, Bruno LEGAY wrote: > > What could be happening is that the character is double encoded (encode > twice). Thanks Bruno, I have tried converting the blob to text before parsing the xml. In the text version the character is only encoded once, but for some

Re: ALP Row Height

2016-12-08 Thread Philippe Ganter
Mitch, This feature was added in version 9.9.3 (Nov 21) following your request. ALP_Area_MinRowHeight is now honored when drawing empty area below data rows. http://www.e-node.net/ftp/AreaListPro/Next_Version_9.9.3 Best regards, -- Phil forums.e-node.net > On 05 Nov 2016, at 19:08, Mitchell