What hurts the most

Was being so close. And having so much to say.
And watching June walk away.
And watching June walk away.
malonish wrote:There is a weird juxtaposition going on in my head right now:
June nuthuggers are the girl, the haters are the dad, and the apathetic/mediocrity accepting people are the mother. June is the boyfriend of course. The truck is the team and the pregnancy is the lack of recruiting biting us. And in the end the nuthuggers see June as the future.
malonish wrote:Okay, here's what I know in XML format:
<?xml version="1.0"?>
<Team>
<Name>SMU</Name>
<Record>0-1</Record>
<Prediction>4-8</Prediction>
</Team>
//code snippet
public void GetXML(XDocument doc){
string name = doc.Root.Element("Name");
string predictedRecord = doc.Root.Element("Prediction");
Console.WriteLine(String.Format("The {0} team is probably going {1}. Commence panic mode.", name, predictedRecord));
}// That's more like what my schooling was
malonish wrote:<?xml version="1.0"?>
<Team>
<Name>SMU</Name>
<Record>0-1</Record>
<Prediction>4-8</Prediction>
</Team>
//code snippet
public void GetXML(XDocument doc){
string name = doc.Root.Element("Name").Value;
string predictedRecord = doc.Root.Element("Prediction").Value;
Console.WriteLine(String.Format("The {0} team is probably going {1}. Commence panic mode.", name, predictedRecord));
}
Fixed it. Silly Malonish, you can't assign an Element to a string...