有没有办法将wikitext数据转换为Java应用程序中的简单XML?wikitext to xml
输入例:
== A section ==
this is some text...
{{MyTemplate
|attr1=some value
|attr2=some other value
...
输出例如:
<section title='A section'>this is some text...</section>
<ValueDescription attr1='some value' attr2='some other value' ...>
这似乎是一个简单的任务,但我无法找到一个图书馆做在Java中。
Mulone
完整的mediawiki语法非常复杂,所以如果唯一的全功能解析器在mediawiki本身内,我不会感到惊讶。 – svick 2011-06-03 23:48:11