freelanceprogrammers.org Forum Index » ASP

Re: Can multiple xml nodelists be loaded into a dataset?


View user's profile Post To page top
meckeard2000 Posted: Wed Sep 07, 2005 9:35 pm


Joined: 26 Dec 2004

Posts: 12
Re: Can multiple xml nodelists be loaded into a dataset?
Travis,

I found this article when I googled it earlier but it only uses 1 string of XML.
I`m looking for a way to load 2 or more.

Thanks,
Mark


"Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbwlkwalkthroughaccessingxmldata.asp

I think this will help.

Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
travis.falls@...


-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
Sent: Wednesday, September 07, 2005 10:33 AM
To: aspnetanyquestionisok@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
into a dataset?


All,

I have a webservice that returns 3 strings of XML and would love to be able
to get all the data into a dataset (or some other object), sort them by
order_id and bind them to a repeater or control.

At the moment, I return my string of XML, extract what I need into a
nodelist and then bind it to a repeater control. However, I just found out
that I need to make 3 seperate calls to get up to 3 strings of XML. Even if
I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
have the ability to sort them.

Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
then bind it to a repeater control?

Thanks,
Mark


[Non-text portions of this message have been removed]





Yahoo! Groups Links








*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
kindawords Posted: Wed Sep 07, 2005 9:47 pm


Joined: 11 Jan 2006

Posts: 46
Re: Can multiple xml nodelists be loaded into a dataset?
1. Load the base document with the initial string.

2. Load a temp document with a second string

3. use ImportNode to lode the desired node(s) from temp document into the
base document

4. Repeat steps 2-3 for each subsequent XML string

On 9/7/05, Mark E <meckeard2000@...> wrote:
>
> Travis,
>
> I found this article when I googled it earlier but it only uses 1 string
> of XML. I`m looking for a way to load 2 or more.
>
> Thanks,
> Mark
>
>
> "Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
> vbwlkwalkthroughaccessingxmldata.asp
>
> I think this will help.
>
> Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> travis.falls@...
>
>
> -----Original Message-----
> From: AspNetAnyQuestionIsOk@yahoogroups.com
> [mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
> Sent: Wednesday, September 07, 2005 10:33 AM
> To: aspnetanyquestionisok@yahoogroups.com
> Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
> into a dataset?
>
>
> All,
>
> I have a webservice that returns 3 strings of XML and would love to be
> able
> to get all the data into a dataset (or some other object), sort them by
> order_id and bind them to a repeater or control.
>
> At the moment, I return my string of XML, extract what I need into a
> nodelist and then bind it to a repeater control. However, I just found out
> that I need to make 3 seperate calls to get up to 3 strings of XML. Even
> if
> I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
> have the ability to sort them.
>
> Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
> then bind it to a repeater control?
>
> Thanks,
> Mark
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> *************************************************************************
> PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>
>
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
ivpayne Posted: Wed Sep 07, 2005 9:53 pm


Joined: 24 Jun 2005

Posts: 3
Re: Can multiple xml nodelists be loaded into a dataset?
Mark,

Why 3 strings? If they are 3 different schemas it`s hard to see how you
could get them all into a `sortable` object - but if they are all structured
similarly you could make them into a single string like
<myStuff><string1/><string2/><string3/></myStuff>
which would probably be more manageable.

Ian

-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of Mark E
Sent: 07 September 2005 16:35
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: RE: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
into a dataset?

Travis,

I found this article when I googled it earlier but it only uses 1 string of
XML. I`m looking for a way to load 2 or more.

Thanks,
Mark


"Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbwlkwalkthroughaccessingxmldata.asp

I think this will help.

Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
travis.falls@...


-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
Sent: Wednesday, September 07, 2005 10:33 AM
To: aspnetanyquestionisok@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
into a dataset?


All,

I have a webservice that returns 3 strings of XML and would love to be able
to get all the data into a dataset (or some other object), sort them by
order_id and bind them to a repeater or control.

At the moment, I return my string of XML, extract what I need into a
nodelist and then bind it to a repeater control. However, I just found out
that I need to make 3 seperate calls to get up to 3 strings of XML. Even if
I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
have the ability to sort them.

Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
then bind it to a repeater control?

Thanks,
Mark


[Non-text portions of this message have been removed]





Yahoo! Groups Links








*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]





Yahoo! Groups Links
Reply with quote
Send private message
View user's profile Post To page top
meckeard2000 Posted: Wed Sep 07, 2005 9:58 pm


Joined: 26 Dec 2004

Posts: 12
Re: Can multiple xml nodelists be loaded into a dataset?
I am consuming a web service from a vendor and I need to use 3 different methods
to get back 3 seperate sets of data (in xml). And I want all 3 to be combined
(if possible) so that I can sort the data. The data is not sorted between the 3
strings of XML and want the end user to see the records in order.

Mark

Ian Payne <ianpayne@...> wrote:
Mark,

Why 3 strings? If they are 3 different schemas it`s hard to see how you
could get them all into a `sortable` object - but if they are all structured
similarly you could make them into a single string like
<myStuff><string1/><string2/><string3/></myStuff>
which would probably be more manageable.

Ian

-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com] On Behalf Of Mark E
Sent: 07 September 2005 16:35
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: RE: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
into a dataset?

Travis,

I found this article when I googled it earlier but it only uses 1 string of
XML. I`m looking for a way to load 2 or more.

Thanks,
Mark


"Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbwlkwalkthroughaccessingxmldata.asp

I think this will help.

Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
travis.falls@...


-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
Sent: Wednesday, September 07, 2005 10:33 AM
To: aspnetanyquestionisok@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
into a dataset?


All,

I have a webservice that returns 3 strings of XML and would love to be able
to get all the data into a dataset (or some other object), sort them by
order_id and bind them to a repeater or control.

At the moment, I return my string of XML, extract what I need into a
nodelist and then bind it to a repeater control. However, I just found out
that I need to make 3 seperate calls to get up to 3 strings of XML. Even if
I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
have the ability to sort them.

Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
then bind it to a repeater control?

Thanks,
Mark


[Non-text portions of this message have been removed]





Yahoo! Groups Links








*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]





Yahoo! Groups Links









SPONSORED LINKS
Basic programming language Computer programming languages Programming languages
Java programming language The history of computer programming language

---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
meckeard2000 Posted: Wed Sep 07, 2005 9:59 pm


Joined: 26 Dec 2004

Posts: 12
Re: Can multiple xml nodelists be loaded into a dataset?
Dean,

Would there be a way for me to sort the data once I have it loaded into my final
document or other object?

Thanks,
Mark

Dean Fiala <dfiala@...> wrote:
1. Load the base document with the initial string.

2. Load a temp document with a second string

3. use ImportNode to lode the desired node(s) from temp document into the
base document

4. Repeat steps 2-3 for each subsequent XML string

On 9/7/05, Mark E <meckeard2000@...> wrote:
>
> Travis,
>
> I found this article when I googled it earlier but it only uses 1 string
> of XML. I`m looking for a way to load 2 or more.
>
> Thanks,
> Mark
>
>
> "Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
> vbwlkwalkthroughaccessingxmldata.asp
>
> I think this will help.
>
> Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> travis.falls@...
>
>
> -----Original Message-----
> From: AspNetAnyQuestionIsOk@yahoogroups.com
> [mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
> Sent: Wednesday, September 07, 2005 10:33 AM
> To: aspnetanyquestionisok@yahoogroups.com
> Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
> into a dataset?
>
>
> All,
>
> I have a webservice that returns 3 strings of XML and would love to be
> able
> to get all the data into a dataset (or some other object), sort them by
> order_id and bind them to a repeater or control.
>
> At the moment, I return my string of XML, extract what I need into a
> nodelist and then bind it to a repeater control. However, I just found out
> that I need to make 3 seperate calls to get up to 3 strings of XML. Even
> if
> I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
> have the ability to sort them.
>
> Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
> then bind it to a repeater control?
>
> Thanks,
> Mark
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> *************************************************************************
> PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>
>
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
travis.falls@... Posted: Wed Sep 07, 2005 10:05 pm


Joined: 10 Jan 2006

Posts: 33
Re: Can multiple xml nodelists be loaded into a dataset?
At this point you can use the document as a data source for the dataset and
use its sorting.

Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
travis.falls@...


-----Original Message-----
From: AspNetAnyQuestionIsOk@yahoogroups.com
[mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
Sent: Wednesday, September 07, 2005 12:59 PM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: Re: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be
loaded into a dataset?


Dean,

Would there be a way for me to sort the data once I have it loaded into my
final document or other object?

Thanks,
Mark

Dean Fiala <dfiala@...> wrote:
1. Load the base document with the initial string.

2. Load a temp document with a second string

3. use ImportNode to lode the desired node(s) from temp document into the
base document

4. Repeat steps 2-3 for each subsequent XML string

On 9/7/05, Mark E <meckeard2000@...> wrote:
>
> Travis,
>
> I found this article when I googled it earlier but it only uses 1 string
> of XML. I`m looking for a way to load 2 or more.
>
> Thanks,
> Mark
>
>
> "Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
> vbwlkwalkthroughaccessingxmldata.asp
>
> I think this will help.
>
> Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> travis.falls@...
>
>
> -----Original Message-----
> From: AspNetAnyQuestionIsOk@yahoogroups.com
> [mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
> Sent: Wednesday, September 07, 2005 10:33 AM
> To: aspnetanyquestionisok@yahoogroups.com
> Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
> into a dataset?
>
>
> All,
>
> I have a webservice that returns 3 strings of XML and would love to be
> able
> to get all the data into a dataset (or some other object), sort them by
> order_id and bind them to a repeater or control.
>
> At the moment, I return my string of XML, extract what I need into a
> nodelist and then bind it to a repeater control. However, I just found out
> that I need to make 3 seperate calls to get up to 3 strings of XML. Even
> if
> I do bind all 3 seperate strings of XML to 3 different repeaters, I won`t
> have the ability to sort them.
>
> Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
> then bind it to a repeater control?
>
> Thanks,
> Mark
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> *************************************************************************
> PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
> for the exclusive use of addressee and may contain proprietary,
> confidential and/or privileged information. If you are not the intended
> recipient, any use, copying, disclosure, dissemination or distribution is
> strictly prohibited. If you are not the intended recipient, please notify
> the sender immediately by return e-mail, delete this communication and
> destroy all copies.
> *************************************************************************
>
>
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]



---------------------------------
YAHOO! GROUPS LINKS


Visit your group "AspNetAnyQuestionIsOk" on the web.

To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---------------------------------




[Non-text portions of this message have been removed]





Yahoo! Groups Links
Reply with quote
Send private message
View user's profile Post To page top
kindawords Posted: Wed Sep 07, 2005 10:29 pm


Joined: 11 Jan 2006

Posts: 46
Re: Can multiple xml nodelists be loaded into a dataset?
What Travis said, basically...

You can possibly push the XML back into a DataSet, using the .ReadXML
method. Then all you need to do is sort your DataTable as you normally would
and set the repeater source to the sorted table.

You could also use an XSLT stylesheet to transform your original XML
document into a sorted version using <xsl:sort>.

which way you go depends on a) how comfortable you are with XSL and b) if it
is possible to create a dataset from your XML without too much hassle.


On 9/7/05, Mark E <meckeard2000@...> wrote:
>
> Dean,
>
> Would there be a way for me to sort the data once I have it loaded into my
> final document or other object?
>
> Thanks,
> Mark
>
> Dean Fiala <dfiala@...> wrote:
> 1. Load the base document with the initial string.
>
> 2. Load a temp document with a second string
>
> 3. use ImportNode to lode the desired node(s) from temp document into the
> base document
>
> 4. Repeat steps 2-3 for each subsequent XML string
>
> On 9/7/05, Mark E <meckeard2000@...> wrote:
> >
> > Travis,
> >
> > I found this article when I googled it earlier but it only uses 1 string
> > of XML. I`m looking for a way to load 2 or more.
> >
> > Thanks,
> > Mark
> >
> >
> > "Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
> >
> >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
> > vbwlkwalkthroughaccessingxmldata.asp
> >
> > I think this will help.
> >
> > Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> > travis.falls@...
> >
> >
> > -----Original Message-----
> > From: AspNetAnyQuestionIsOk@yahoogroups.com
> > [mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
> > Sent: Wednesday, September 07, 2005 10:33 AM
> > To: aspnetanyquestionisok@yahoogroups.com
> > Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
> > into a dataset?
> >
> >
> > All,
> >
> > I have a webservice that returns 3 strings of XML and would love to be
> > able
> > to get all the data into a dataset (or some other object), sort them by
> > order_id and bind them to a repeater or control.
> >
> > At the moment, I return my string of XML, extract what I need into a
> > nodelist and then bind it to a repeater control. However, I just found
> out
> > that I need to make 3 seperate calls to get up to 3 strings of XML. Even
> > if
> > I do bind all 3 seperate strings of XML to 3 different repeaters, I
> won`t
> > have the ability to sort them.
> >
> > Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
> > then bind it to a repeater control?
> >
> > Thanks,
> > Mark
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> *************************************************************************
> > PRIVILEGED AND CONFIDENTIAL: This communication, including attachments,
> is
> > for the exclusive use of addressee and may contain proprietary,
> > confidential and/or privileged information. If you are not the intended
> > recipient, any use, copying, disclosure, dissemination or distribution
> is
> > strictly prohibited. If you are not the intended recipient, please
> notify
> > the sender immediately by return e-mail, delete this communication and
> > destroy all copies.
> >
> *************************************************************************
> >
> >
> >
> > ---------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > Visit your group "AspNetAnyQuestionIsOk" on the web.
> >
> > To unsubscribe from this group, send an email to:
> > AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
kindawords Posted: Wed Sep 07, 2005 10:29 pm


Joined: 11 Jan 2006

Posts: 46
Re: Can multiple xml nodelists be loaded into a dataset?
What Travis said, basically...

You can possibly push the XML back into a DataSet, using the .ReadXML
method. Then all you need to do is sort your DataTable as you normally would
and set the repeater source to the sorted table.

You could also use an XSLT stylesheet to transform your original XML
document into a sorted version using <xsl:sort>.

which way you go depends on a) how comfortable you are with XSL and b) if it
is possible to create a dataset from your XML without too much hassle.


On 9/7/05, Mark E <meckeard2000@...> wrote:
>
> Dean,
>
> Would there be a way for me to sort the data once I have it loaded into my
> final document or other object?
>
> Thanks,
> Mark
>
> Dean Fiala <dfiala@...> wrote:
> 1. Load the base document with the initial string.
>
> 2. Load a temp document with a second string
>
> 3. use ImportNode to lode the desired node(s) from temp document into the
> base document
>
> 4. Repeat steps 2-3 for each subsequent XML string
>
> On 9/7/05, Mark E <meckeard2000@...> wrote:
> >
> > Travis,
> >
> > I found this article when I googled it earlier but it only uses 1 string
> > of XML. I`m looking for a way to load 2 or more.
> >
> > Thanks,
> > Mark
> >
> >
> > "Falls, Travis D (HTSC, CASD)" <travis.falls@...> wrote:
> >
> >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
> > vbwlkwalkthroughaccessingxmldata.asp
> >
> > I think this will help.
> >
> > Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
> > travis.falls@...
> >
> >
> > -----Original Message-----
> > From: AspNetAnyQuestionIsOk@yahoogroups.com
> > [mailto:AspNetAnyQuestionIsOk@yahoogroups.com]On Behalf Of Mark E
> > Sent: Wednesday, September 07, 2005 10:33 AM
> > To: aspnetanyquestionisok@yahoogroups.com
> > Subject: [AspNetAnyQuestionIsOk] Can multiple xml nodelists be loaded
> > into a dataset?
> >
> >
> > All,
> >
> > I have a webservice that returns 3 strings of XML and would love to be
> > able
> > to get all the data into a dataset (or some other object), sort them by
> > order_id and bind them to a repeater or control.
> >
> > At the moment, I return my string of XML, extract what I need into a
> > nodelist and then bind it to a repeater control. However, I just found
> out
> > that I need to make 3 seperate calls to get up to 3 strings of XML. Even
> > if
> > I do bind all 3 seperate strings of XML to 3 different repeaters, I
> won`t
> > have the ability to sort them.
> >
> > Any ideas how I can get all 3 strings of XML into 1 dataset, sort it and
> > then bind it to a repeater control?
> >
> > Thanks,
> > Mark
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> *************************************************************************
> > PRIVILEGED AND CONFIDENTIAL: This communication, including attachments,
> is
> > for the exclusive use of addressee and may contain proprietary,
> > confidential and/or privileged information. If you are not the intended
> > recipient, any use, copying, disclosure, dissemination or distribution
> is
> > strictly prohibited. If you are not the intended recipient, please
> notify
> > the sender immediately by return e-mail, delete this communication and
> > destroy all copies.
> >
> *************************************************************************
> >
> >
> >
> > ---------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > Visit your group "AspNetAnyQuestionIsOk" on the web.
> >
> > To unsubscribe from this group, send an email to:
> > AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "AspNetAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


[Non-text portions of this message have been removed]
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help