Try something new. NodeBox 2 Beta - Now Available for Download

Reference | autotext()


Syntax
autotext()

DescriptionGenerates random text from an XML-document. Autotext is a very powerful feature once you learn how to use it. NodeBox has a built-in implementation of the Kant Generator Pro. XML-files for the Kant Generator have a specified structure. Further information can be found at http://diveintopython.org/xml_processing/
Returnsa string containing automatically generated text
Tutorial Strings


Example
fontsize(9)
lineheight(0.8)
txt = autotext("kant.xml")
text(txt, 5, 10, width=110)
  
Download kant.xml