Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.
My attempt to read the file looks like this:
<?xml version="1.0"?> <Email> <Subject>3 events scheduled starting 3/13 1:30 PM: Job 1034</Subject> <DeptID>111</DeptID> <sPersonIDs>10240; 175</sPersonIDs> <MessageText>3/11, 3/12, 3/13 1:30 - 5:00 PM Water Damage Assigned to: Bilbo Baggins</MessageText> </Email>
Apparently I'm missing something important since I'm not getting any values back out of my file. This is my first time working with IXMLDocument/IXMLNode, so happy for any guidance. Thanks.
procedure TChronEmail.GetFromTempFile; var i:integer; sFile : string; Doc: IXMLDocument; Email: IXMLNode; begin sFile := [filename--I've tested that it is valid and that it is there]; if fileExists(sFile) then begin Doc.LoadFromFile(sFile); i := 0; // for this test, only need the first entry in the file Email := DOC.ChildNodes.Nodes['Email'].ChildNodes[i]; Subject := Email.ChildNodes['Subject'].Text; if tryStrToInt(Email.ChildNodes['DeptID'].Text, i) then DeptID := i; sPersonIDs := Email.ChildNodes['sPersonIDs'].Text; MessageText := Email.ChildNodes['MessageText'].Text;
|Itunes > For You > Search Results > Can't Select Multiple Tracks on Win 10||6||54|
|tidtcpserver connection lost handle||2||49|
|How can i compile this github project??||2||45|
|how to update exe applicatio from internet ?||6||41|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!