DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 14 Aug 2007 08:12:22 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    DC


Importing plain xml into typed datasets on the fly   
Hi,

I am about (to be forced) to implement a number of webcontrols that
display data from various xml sources. The data is to be loaded on the
fly, some data is to be cached.

The data will primarily be delivered from two providers and is quiet
plain, e.g.

<row>
 <foo>bar</foo>
</row>

But of course there are about 50 versions of foo. Foo may also
represent a string, a decimal or a date, but the dates will look
different every other week. Also, the provider will add more foo and
my client will want to use all the new foo he can get. No dtd or other
schema is available.

I thought about implementing a custom provider for the (initially two)
xml providers. That will give me the opportunity to switch providers
in the web.config and also per request.

I want to use typed datasets to represent the imported data for my
webcontrols.

The question that remains open is how to import the xml data and map
it to the typed datasets. Ideally, I would like a graphic mapping
between the xml and the typed dataset and be able to adapt the schema
of the typed dataset and the mapping (including the tanslation of
weird date and decimal formats) without compiling. I have seen
something like that in biztalk server but that is no option here - I
must stick with what VS2005 has got to offer.

I was hoping that somebody here had done this before and knows a
convenient way to adapt to heterogenious xml sources. TIA for any
hint!

Regards
DC
Date:Tue, 14 Aug 2007 08:12:22 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us