Use docbook output or have a look at
http://www.mail-archive.com/[email protected]/msg01573.html


Am Dienstag, den 02.08.2011, 02:31 -0700 schrieb Andy Valek:
> Hi all,
> 
> I just start to work around with mwlib. It's very useful for my needs,
> but since no tutorials for developers and I'm not expert in Python, I
> have difficulties with the following things: I want to parse Wiki raw
> text and convert it into an XML, so that I can break down into
> paragraphs etc. As an illustration, the following codes I want to use:
> 
> #!/usr/bin/python
> 
> text = "=h1=\n*item 1\n*item2\n==h2==\nsome [[Link|caption]] there\n"
> ....
> 
> Which methods should I use here to convert the above text into DOM.
> Could someone share a clue?
> 


-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to