Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/11/2024 in all areas

  1. Hey Sven, You may be correct as I only skimmed the post and missed the span inside the button element. However, don't count my solution out just yet as it may work as-is. 😉 Dan
    1 point
  2. I used these files as input Address.xlsx XML.xml #include <Excel.au3> Global $sXLSPath = @ScriptDir & '\Address.xlsx' Global $sXMLPath = @ScriptDir & '\XML.xml' Global $sXML = FileRead($sXMLPath) $oExcel = _Excel_Open(False) $oWorkBook = _Excel_BookOpen($oExcel, $sXLSPath, True, False) $aData = _Excel_RangeRead($oWorkBook, Default, 'A1:C4') _Excel_BookClose($oWorkBook, False) _Excel_Close($oExcel, False) If IsArray($aData) Then For $Index = 0 To UBound($aData) - 1 $sRegex = '<Item>(\s*)<ID>(.*?)' & $aData[$Index][0] & '\-' & $aData[$Index][1] & '<\/ID>(\s*)<Label>(.*?)<\/Label>(\s*)<\/Item>' $sReplace = '<Item>${1}<ID>${2}' & $aData[$Index][0] & '-' & $aData[$Index][1] & '</ID>${3}<Label>' & $aData[$Index][2] & '</Label>${5}</Item>' $sXML = StringRegExpReplace($sXML, $sRegex, $sReplace) Next EndIf FileWrite(@ScriptDir & '\Output.xml', $sXML) Output:
    1 point
  3. Thanks to the two gentlemen @SmOke_N and @Andreik for helping.
    1 point
  4. And that is true in an ini as it is in a database. So you don't understand. Is not where but how. Nope. You should educate yourself before jumping into the dream of grandness that compels you.
    1 point
  5. You don't save a password but a hash of it to corroborate the password when is the correct one. I will strongly advise against doing a thing you have no clue of, even if someone gives you the code you are asking for. My 2 cent. of wisdom.
    1 point
×
×
  • Create New...