Forums > MaxMSP

xml parsing in Max?

Dec 17 2009 | 5:48 pm

Hi there,

Anyone know of ways to parse xml inside Max? Any help would be much appreciated!



Dec 18 2009 | 1:28 am

The [detox] Jasch external does this very well.


Dec 18 2009 | 1:10 pm

Hi Johann,

I have developed an xml system using only standard MaxMSP objects (there’s also another one in the digital orchestra toolbox which you could google). It’s similar to detox in the way it parses data (except it uses regexp), but there are also a set of abstractions to deal with reading/writing xml files, plus you can parse it out by element to abstractions so that you can create your xml structure graphically – this works very well for fixed structures, but I also have some abstractions and tricks for making more dynamic structures.

It depends what you’re trying to do whether or not the ability to deal with the hiearchical structure of an xml document graphically will be useful at all for you. If so, and you’re interested in looking at it let me know I’ll try to bundle up the stuff and get it to you…



Dec 18 2009 | 5:55 pm

@ Alex:

this work of yours sounds awesome. can you bundle it all up for us plebs as well?!…

Dec 19 2009 | 2:29 pm

Thanks for the help!

Alex – I’d be really interested to see what you have. If you’re willing, you can send to jtammbuckle at gmail dot com.

Thanks again,


Dec 19 2009 | 6:47 pm

There is also the [tap.xml.sax] object in Tap.Tools ( ).


Dec 30 2009 | 6:47 pm

Hey – sorry for not seeing this reply sonner – I’m used to getting emails from the forum – guess that’s gone now…

@Johann – I’m sending on what I have shortly…

@pid – I’ll try to package up and make public in time, but I’m stacked back with getting some other stuff ready for public release right now – if you want to see it sooner (rather than later) then message or coontact me with an email address.



Dec 30 2009 | 9:38 pm

I’m also interesting in your parsing tool.
How could i contact you?

Dec 31 2009 | 12:57 am

Hi marc,

It’s fairly undocumented at the moment (I didn’t need to document it for myself yet), but if you want to look at what’s there as it is at the moment you can find my email here:



Mar 02 2015 | 7:28 am

-- Pasted Max Patch, click to expand. --

Viewing 10 posts - 1 through 10 (of 10 total)

Forums > MaxMSP