Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 28th, 2012  |  syntax: None  |  size: 0.30 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. VBS - Read XML Attribute using XmlDocument
  2. For i= 1 to TSC                    
  3.         attrVal = XMLdoc.SelectSingleNode("/TimeDateSettings/CustomCodes/ShiftCodes/ShiftCode/@ID").value              
  4.         Datatable.Value("Shift_ID", "Temp_Table")=attrVal
  5.         Datatable.SetCurrentRow(i+1)
  6.     Next