Is there a simple way to parse XML files for use in an extension?

Anyone know an easy way to parse XML when making an extension? There’s some setting in an XML file that I want to get and I didn’t know if there’s an easy way to do that, or if I need to find a light weight JS parser or roll my own.

For now, I ended up using the Pure JavaScript XML (pjxml) with some success. It’s a single file, fairly simple to use. But I’m still open to any other suggestions.