On Wednesday 30 September 2009 06:19:14 Jean Daniel wrote:
> Hello,
> 
> I would like to modify a restructured text document from a script. The
> script would
> 
> 1. load the restructured text as XML,
> 2. alter the structure of the XML document, add a few nodes,
> 3. and format the XML back to restructured text.
> 
> Which tools can help me with step 3?

rst2rst.py can take a docutils doctree and turn it back into rst, so if you 
can turn your XML into a doctree, you are there.

http://lateral.netmanagers.com.ar/static/rst2rst/rst2rst.py

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" 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/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to