title: Java Wikitext Parser
body: <p>Any ideas for a nice parser with an easy to use api that is configurable? I'm looking to feed it data such as <a href="http://wikitravel.org/wiki/en/api.php?format=xml&amp;action=parse&amp;prop=wikitext&amp;page=San%20Francisco" rel="noreferrer">http://wikitravel.org/wiki/en/api.php?format=xml&amp;action=parse&amp;prop=wikitext&amp;page=San%20Francisco</a>, choose sections of data I want, and output custom html for each unique type of element? Java would be preferred, but if there's a php/js solution that is compatible with most (99%+) wikitext, that would be okay as well. </p>