vimal Posted November 4, 2014 Share Posted November 4, 2014 Hello everybody ! I have a problem to extract data from XML file.My XML file is small ,limited to 5 to 10 lines. I want to use XML file as a arranged (readable and printable) text file. Can I do this from AutoIt scripts ? I found no any related function in AutoIt. If anybody worked with it, pls let me know. I enclosed XML file ( as text file) for the reference. MYXML.txt Link to comment Share on other sites More sharing options...
Danyfirex Posted November 4, 2014 Share Posted November 4, 2014 '?do=embed' frameborder='0' data-embedContent>> '?do=embed' frameborder='0' data-embedContent>> Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
jdelaney Posted November 4, 2014 Share Posted November 4, 2014 Or forum search XMLDOM...will get you tons of hits. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
mikell Posted November 4, 2014 Share Posted November 4, 2014 It depends on the expected output #Include <Array.au3> $txt = FileRead("MYXML.txt") $res = StringRegExp($txt, '(?s)\S+="[^"]+"', 3) _ArrayDisplay($res) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now