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.

Saving as XML

6 posts in DataWindow Last posting was on 2009-10-17 09:54:11.0Z
Ignacio Carrasquedo Posted on 2009-10-16 23:12:02.0Z
From: "Ignacio Carrasquedo" <icarrasquedo@oma.aero>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Saving as XML
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ad8fdc2$1@forums-1-dub>
Date: 16 Oct 2009 16:12:02 -0700
X-Trace: forums-1-dub 1255734722 10.22.241.152 (16 Oct 2009 16:12:02 -0700)
X-Original-Trace: 16 Oct 2009 16:12:02 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90102
Article PK: 409709

Hi!!

I have this problem

I have a datawindow that reads data from a .TXT file
after that, i have to save it as an .XML file ( i allready have a template
loaded inside the dw)

The problem i that when i push the saveas button, it is just generating the
first record at the file, all other 500 records are not generated

i Hope someone can help me!

Best Regards
IGNACIO


Chris Pollach Posted on 2009-10-16 23:39:11.0Z
Reply-To: "Chris Pollach" <cpollach@travel-net.com>
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ad8fdc2$1@forums-1-dub>
Subject: Re: Saving as XML
Lines: 31
Organization: STD
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ad9041f$1@forums-1-dub>
Date: 16 Oct 2009 16:39:11 -0700
X-Trace: forums-1-dub 1255736351 10.22.241.152 (16 Oct 2009 16:39:11 -0700)
X-Original-Trace: 16 Oct 2009 16:39:11 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90103
Article PK: 409708

Hi Ignacio;

What release of PB are you using?

--
Regards .... Chris Pollach
President: Software Tool & Die Inc. & ISUG: NA RUG Director
Blog: http://chrispollach.pbdjmagazine.com
SourceForge: http://sourceforge.net/projects/stdfndclass

"Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
news:4ad8fdc2$1@forums-1-dub...
> Hi!!
>
> I have this problem
>
> I have a datawindow that reads data from a .TXT file
> after that, i have to save it as an .XML file ( i allready have a template
> loaded inside the dw)
>
> The problem i that when i push the saveas button, it is just generating
> the first record at the file, all other 500 records are not generated
>
> i Hope someone can help me!
>
> Best Regards
> IGNACIO


Ignacio Carrasquedo Posted on 2009-10-17 04:25:53.0Z
From: "Ignacio Carrasquedo" <icarrasquedo@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ad8fdc2$1@forums-1-dub> <4ad9041f$1@forums-1-dub>
In-Reply-To: <4ad9041f$1@forums-1-dub>
Subject: Re: Saving as XML
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ad94751$1@forums-1-dub>
Date: 16 Oct 2009 21:25:53 -0700
X-Trace: forums-1-dub 1255753553 10.22.241.152 (16 Oct 2009 21:25:53 -0700)
X-Original-Trace: 16 Oct 2009 21:25:53 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90106
Article PK: 409714

I'm Using Pb 10.5



"Chris Pollach" <cpollach@travel-net.com> escribió en el mensaje de
noticias:4ad9041f$1@forums-1-dub...

> Hi Ignacio;
>
> What release of PB are you using?
>
> --
> Regards .... Chris Pollach
> President: Software Tool & Die Inc. & ISUG: NA RUG Director
> Blog: http://chrispollach.pbdjmagazine.com
> SourceForge: http://sourceforge.net/projects/stdfndclass
>
>
>
> "Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
> news:4ad8fdc2$1@forums-1-dub...
>> Hi!!
>>
>> I have this problem
>>
>> I have a datawindow that reads data from a .TXT file
>> after that, i have to save it as an .XML file ( i allready have a
>> template loaded inside the dw)
>>
>> The problem i that when i push the saveas button, it is just generating
>> the first record at the file, all other 500 records are not generated
>>
>> i Hope someone can help me!
>>
>> Best Regards
>> IGNACIO
>
>


Jeremy Lakeman Posted on 2009-10-16 23:42:33.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Saving as XML
Date: Fri, 16 Oct 2009 16:42:33 -0700 (PDT)
Organization: http://groups.google.com
Lines: 22
Message-ID: <0e38ef82-daea-41d0-9c64-e3a08d453df2@a39g2000pre.googlegroups.com>
References: <4ad8fdc2$1@forums-1-dub>
NNTP-Posting-Host: 219.90.186.150
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1255736554 24998 127.0.0.1 (16 Oct 2009 23:42:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 16 Oct 2009 23:42:34 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a39g2000pre.googlegroups.com; posting-host=219.90.186.150; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a39g2000pre.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90104
Article PK: 409710

On Oct 17, 9:12 am, "Ignacio Carrasquedo" <icarrasqu...@oma.aero>

wrote:
> Hi!!
>
> I have this problem
>
> I have a datawindow that reads data from a .TXT file
> after that, i have to save it as an .XML file ( i allready have a template
> loaded inside the dw)
>
> The problem i that when i push the saveas button, it is just generating the
> first record at the file,   all other 500 records are not generated
>
> i Hope someone can help me!
>
> Best Regards
> IGNACIO

Do you have an element in the xml template with the "starts detail"
setting checked?


Ignacio Carrasquedo Posted on 2009-10-17 04:55:41.0Z
From: "Ignacio Carrasquedo" <icarrasquedo@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ad8fdc2$1@forums-1-dub> <0e38ef82-daea-41d0-9c64-e3a08d453df2@a39g2000pre.googlegroups.com>
In-Reply-To: <0e38ef82-daea-41d0-9c64-e3a08d453df2@a39g2000pre.googlegroups.com>
Subject: Re: Saving as XML
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ad94e4d$1@forums-1-dub>
Date: 16 Oct 2009 21:55:41 -0700
X-Trace: forums-1-dub 1255755341 10.22.241.152 (16 Oct 2009 21:55:41 -0700)
X-Original-Trace: 16 Oct 2009 21:55:41 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90107
Article PK: 409713

I have Checked .. none element have this "Start detail Option seted
Should this be done??

if this is correct , can you give me an idea where to start with this
option ??

Thanks

"Jeremy Lakeman" <jeremy.lakeman@gmail.com> escribió en el mensaje de
noticias:0e38ef82-daea-41d0-9c64-e3a08d453df2@a39g2000pre.googlegroups.com...

> On Oct 17, 9:12 am, "Ignacio Carrasquedo" <icarrasqu...@oma.aero>
> wrote:
>> Hi!!
>>
>> I have this problem
>>
>> I have a datawindow that reads data from a .TXT file
>> after that, i have to save it as an .XML file ( i allready have a
>> template
>> loaded inside the dw)
>>
>> The problem i that when i push the saveas button, it is just generating
>> the
>> first record at the file, all other 500 records are not generated
>>
>> i Hope someone can help me!
>>
>> Best Regards
>> IGNACIO
>
> Do you have an element in the xml template with the "starts detail"
> setting checked?


Jeremy Lakeman Posted on 2009-10-17 09:54:11.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Saving as XML
Date: Sat, 17 Oct 2009 02:54:11 -0700 (PDT)
Organization: http://groups.google.com
Lines: 41
Message-ID: <e334a545-f5e0-47ec-8dce-6dc9d7ca7314@t11g2000prh.googlegroups.com>
References: <4ad8fdc2$1@forums-1-dub> <0e38ef82-daea-41d0-9c64-e3a08d453df2@a39g2000pre.googlegroups.com> <4ad94e4d$1@forums-1-dub>
NNTP-Posting-Host: 219.90.186.150
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1255773252 4378 127.0.0.1 (17 Oct 2009 09:54:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 17 Oct 2009 09:54:12 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t11g2000prh.googlegroups.com; posting-host=219.90.186.150; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!t11g2000prh.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90108
Article PK: 409712

On Oct 17, 2:55 pm, "Ignacio Carrasquedo" <icarrasqu...@hotmail.com>

wrote:
> I have Checked .. none element have this "Start detail Option seted
> Should this be done??
>
> if this is correct , can you give me an idea where to start with  this
> option ??
>
> Thanks
>
> "Jeremy Lakeman" <jeremy.lake...@gmail.com> escribió en el mensaje de
> noticias:0e38ef82-daea-41d0-9c64-e3a08d453...@a39g2000pre.googlegroups.com...
>
> > On Oct 17, 9:12 am, "Ignacio Carrasquedo" <icarrasqu...@oma.aero>
> > wrote:
> >> Hi!!
>
> >> I have this problem
>
> >> I have a datawindow that reads data from a .TXT file
> >> after that, i have to save it as an .XML file ( i allready have a
> >> template
> >> loaded inside the dw)
>
> >> The problem i that when i push the saveas button, it is just generating
> >> the
> >> first record at the file,   all other 500 records are not generated
>
> >> i Hope someone can help me!
>
> >> Best Regards
> >> IGNACIO
>
> > Do you have an element in the xml template with the "starts detail"
> > setting checked?

Basically this setting defines the separation between the header and
repeating xml in the file. I was guessing that if you didn't have any
repeat marker, the file would only include one row.