Jump to content
Sign in to follow this  
cynapse

XML Parsing with multiple XML Files

Recommended Posts

cynapse

Hi everybody !

i need help to parse multiple XML Files at the same time !

I have read all the topics about XML DOM WRAPPER but actually, this tool can only deal with one opened XML File.

Do you know how can I do ? Is there a hack ?

Thanks for your help

Bye

Seb

Share this post


Link to post
Share on other sites
zorphnog

Is there any reason you cannot load the data you need from each file into arrays and work with the arrays? You could modify the XML DOM wrapper to accept multiple objects, but that would require some extensive modifications.

Share this post


Link to post
Share on other sites
PsaltyDS

You could look at eltorro's MDI version (MDI = Multi-Document Interface). But unfortunately neither that nor the regular version have been maintained in a long time.

I do hope someone skilled decides to rewrite it with a more generic COM object interface to the functions ala IE.au3.

If not (horrors!) I may have to take a shot at it myself.

:)

Edit: Spoke too soon. Looks like eltorro has been tweaking recently:

; #INDEX# =======================================================================================================================

; Title .........: _XMLDomWrapper

; AutoIt Version : 3.2.3++

; Language ......: English

; Description ...: Functions to use for reading and writing XML using msxml.

; .Initial release Dec. 15, 2005

; .Dec 15, 2005, Update Jan10,2006, Update Feb 5,8,14-15, 2006

; .Feb 24, 2006 Updated _XMLCreateCDATA, code cleaned up Gary Frost (custompcs@charter.net)

<snip>

; .Apr 24,2009 Reverted Autosave and Autoformat.

; . Fixed doc error regrading Autoindent vs Autoformat.

; . Change boolean vars to start with $f instead of $b

; .Apr 25,2009 Experimental code to remove indenting text node when a node is deleted.

; .Apr 27,2010 added _XMLUpdateField2 per weaponx. Should update multiple nodes.

; Author ........: Stephen Podhajecki Eltorro

; ===============================================================================================================================

:idea:

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Gideon

I don't know a lot about parsing xml, because I don't use it, but maybe it is an option to make a loop parsing the xml-files.

Maybe i'm wrong and you have to parse exactly at the same time^^

But if I'm right, you could use fileopendialog and mutiple selection on.

Then use the array for the loop.

And when you need a program for parsing, you can even mouseclick and send:') A rather use controlclick, but sometimes it's no option.

Edited by Gideon

Many times you need to think like hobby-bob:')

Share this post


Link to post
Share on other sites
cynapse

Hi !

Thanks for your reply !

http://code.google.com/p/my-autoit/downloads/list

_MSXML.au3 seems to answer to my requirements !

Bye bye !

:(

You could look at eltorro's MDI version (MDI = Multi-Document Interface). But unfortunately neither that nor the regular version have been maintained in a long time.

I do hope someone skilled decides to rewrite it with a more generic COM object interface to the functions ala IE.au3.

If not (horrors!) I may have to take a shot at it myself.

:)

Edit: Spoke too soon. Looks like eltorro has been tweaking recently:

:idea:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×