Note that there are some explanatory texts on larger screens.

plurals
  1. POWorking with XML
    text
    copied!<p>I'm planning to create a news item which uses xml as it's backend and the Display should be like:</p> <p>Date: 08/Mar/2010<br> ------------------------------<br> Title &nbsp; &nbsp; | News<br> ------------------------------<br> News 4 | Some news<br> News 3 | Some news<br> News 2 | Some news<br> News 1 | Some news<br> ------------------------------<br> Date: 07/Mar/2010<br> ------------------------------<br> Title &nbsp; &nbsp; | News<br> ------------------------------<br> News 5 | Some news<br> News 4 | Some news<br> News 3 | Some news<br> News 2 | Some news<br> News 1 | Some news<br></p> <ol> <li>Display should be sorted on Date (descending)</li> <li>Then news items should be sorted on time (descending)</li> </ol> <p>Today's news item should be on top, then titles should be sorted-decending (timewise), later will come previous day's news items.</p> <p>I'm not able to come up with the logic of xml which should be used in this case. moreover I'm not able to figure out how should I check "Today's date" in xml's "if" statement. Can I please get some code sample to understand this kinda logic???</p> <p>---- Previous Question ------------------------------------------------------------------<br> How can I export a data from textBox1, textBox2 &amp; textBox3 on my winform (visual studio C#) so that it can automatically create an xml file with proper placing of these data???? <br />Let's say:<br /> textBox1 = Name:<br /> textBox2 = Age:<br /> textBox3 = Roll No</p> <p>It would be great if the exported xml can be appended (add the new data in the EOF) if we export the data again.</p> <p>Any idea plz.....</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload