hmm... wow, guess that I should have taken my own advice before I posted. http://www.blitzbasic.com/codearcs/codearcs.php?code=1393. It looks like this code will do what you're looking for.
.XML
BlitzPlus Forums/BlitzPlus Programming/.XMLThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.