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.

Nested DW XML Question

3 posts in XML Last posting was on 2008-12-03 17:26:58.0Z
AR Posted on 2008-12-03 14:59:03.0Z
Sender: 1c0e.4936990d.1804289383@sybase.com
From: AR
Newsgroups: sybase.public.powerbuilder.xml
Subject: Nested DW XML Question
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49369eb7.1ca6.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 3 Dec 2008 06:59:03 -0800
X-Trace: forums-1-dub 1228316343 10.22.241.41 (3 Dec 2008 06:59:03 -0800)
X-Original-Trace: 3 Dec 2008 06:59:03 -0800, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1786
Article PK: 767934

I exported a Nested DW into a XML & was viewing the XML file
in TextPad & found that only the contents of the main DW are
stored in the XML. I could not find any reference to the
nested DWs in the XML. But whn I load the XML into the DW,
the data for all the Nested DWs are showing correctly.
Where is the Nested DW info stored. Can you pl. provide
links that will explain the XML usage in PB?
thnx
AR


Bruce Armstrong [TeamSybase] Posted on 2008-12-03 16:21:07.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.xml
Subject: Re: Nested DW XML Question
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <dbcdj4dsdtt9u9juhci7juerr31v8jnncl@4ax.com>
References: <49369eb7.1ca6.1681692777@sybase.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 3 Dec 2008 08:21:07 -0800
X-Trace: forums-1-dub 1228321267 10.22.241.152 (3 Dec 2008 08:21:07 -0800)
X-Original-Trace: 3 Dec 2008 08:21:07 -0800, vip152.sybase.com
Lines: 24
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.xml:1787
Article PK: 814330

There are templates for the import and export.

Within the export templates, you need to add a reference to the nested
datawindow. At that point, the parent datawindow will use the
template information from the child datawindow to generate it's XML
and insert that information into the XML exported for the parent.

As far as I know, there is no such capability for importing XML. The
DataWindow only allows you to import into the parent. I have no idea
how you're getting it into the children.

On 3 Dec 2008 06:59:03 -0800, AR wrote:

>I exported a Nested DW into a XML & was viewing the XML file
>in TextPad & found that only the contents of the main DW are
>stored in the XML. I could not find any reference to the
>nested DWs in the XML. But whn I load the XML into the DW,
>the data for all the Nested DWs are showing correctly.
>Where is the Nested DW info stored. Can you pl. provide
>links that will explain the XML usage in PB?
>thnx
>AR