Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 

Go Back   XSL - XML - RSS Forums > Programming and XML > Sybase Powerbuilder and XML

Tags:



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2008, 05:52 PM
AR
 
Posts: n/a

Default Re: Nested DW XML Question



I am not doing anything special to get the Nested DW's data.
My export code - dw_rpt_fo_noc.SaveAs("C:\PBXML\XMLNOC.XML",
XML!, TRUE)
My Import code to show in the DW -
dw_rpt_fo_noc.ImportFile("C:\PBXML\XMLNOC.XML", XML!)

If I look @ the XML file generated, I see the data only on
the Header (Main) DW but absolutley no data for any of the
Nested DWs. But somehow ehrn I use ImportFile, I am seeing
all the data.
anil
> 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

>

Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Contact Us -|- XSL - XML - RSS Forums -|- Archive -|- Top -|-Rules/Disclaimer-|-Help/Support -|-Advertise
© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
All times are GMT. The time now is 04:19 PM.
Style Developed by Epic Designz