Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

SaveAs() to XML. Need . as decimal point instead of ,

2 posts in XML Last posting was on 2008-06-28 22:19:37.0Z
Raymond Posted on 2008-03-07 13:05:06.0Z
Sender: 1a50.47d13b66.1804289383@sybase.com
From: Raymond
Newsgroups: sybase.public.powerbuilder.xml
Subject: SaveAs() to XML. Need . as decimal point instead of ,
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47d13d82.1a7e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 7 Mar 2008 05:05:06 -0800
X-Trace: forums-1-dub 1204895106 10.22.241.41 (7 Mar 2008 05:05:06 -0800)
X-Original-Trace: 7 Mar 2008 05:05:06 -0800, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1727
Article PK: 814299

Datawindow.SaveAs() to XML file uses , as decimal point
instead of the standard(?) .

Why? And how can I get all my Decimal fields to use . as it
should do?

I use PB version 9.

/R


A. Peters Posted on 2008-06-28 22:19:37.0Z
From: "A. Peters" <apeters@ap-data.de>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: SaveAs() to XML. Need . as decimal point instead of ,
References: <47d13d82.1a7e.1681692777@sybase.com>
In-Reply-To: <47d13d82.1a7e.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4866b8f9$1@forums-1-dub>
Date: 28 Jun 2008 15:19:37 -0700
X-Trace: forums-1-dub 1214691577 10.22.241.152 (28 Jun 2008 15:19:37 -0700)
X-Original-Trace: 28 Jun 2008 15:19:37 -0700, vip152.sybase.com
Lines: 23
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1759
Article PK: 814310

Hello,
did you found a way to solve the problem?
The only way I found was a manual replace.

ls_xml = dw_text.describe ( 'DataWindow.Data.XML' )
...

and then a manual replace. But it is a dirty way, because it can happen,
that you replace a wrong ','.

greetings
Alex

Raymond schrieb:

> Datawindow.SaveAs() to XML file uses , as decimal point
> instead of the standard(?) .
>
> Why? And how can I get all my Decimal fields to use . as it
> should do?
>
> I use PB version 9.
>
> /R