Weka is a complete and user-friendly data-mining environment that builds decision trees. But Weka decision tree classifiers outputs the decision tree either as a Weka-syntaxed text tree or as a binary file (neither readable nor editable in a text editor).
WekatextToXml is designed to automatically convert a decision tree produced by Weka from its text-syntax (e.g. sample_decision_tree.txt) to an XML file (sample_decision_tree.xml); and optionnally, to a mindmap file browsable with the opensource Freemind software (sample_decision_tree.mm).
XML files are very easy to parse, you will find many libraries to handle them in every programming languages. View screenshot.
For the moment, WekatextToXml only works with trees produced by the J48 classifier (an implementation of R. Quinlan C4.5 algorithm) or any text-decision tree respecting this syntax. I`m working on an extended algorithm wich will handle CART decision trees as well.