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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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)" <[EMAIL PROTECTED]> 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 |
> > [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] Behalf Of Mark E
> > Sent: Wednesday, September 07, 2005 10:33 AM
> > To: [email protected]
> > 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:
> > [EMAIL PROTECTED]
> >
> > 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:
> [EMAIL PROTECTED]
> 
> 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 Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to