By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Is it possible to set the XMLDSO to bind to a specific table in an XML

P: 1
Hi all

I. Consider the following XML file: "sample.xml"

<!-- Start sample xml-->
<?xml version="1.0" standalone="yes"?>

<NewDataSet>

<My_x0001_Table xmlns="myNameSpace1">
<Param1>AT</Param1>
<My_x0001_Table>

<My_y0002_Table xmlns="myNameSpace2">
<Label>XT</Label>
<My_y0002_Table>

</NewDataSet>
<!-- End sample xml-->

Is it possible to bind two separate tables available in the XML such as "My_x0001_Table" and "My_y0002_Table" to two different <TABLE>'s datasrc property?

<TABLE ID=Table1 datasrc="xmldso">
........tr.th...td...datafld...tags.......
</TABLE>

<TABLE ID=Table2 datasrc="xmldso">
........tr.th...td...datafld...tags.......
</TABLE>

Bottom line is need to access single XML resource with multiple tables merged in it( I cld accomplish this using ADO.NET datasets) but while reading have to separate the tables out and bind to HTML table tags.
Oct 18 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.