"MikkelFJ" <mikkelfj-anti-spam / bigfoot.com> wrote in message news:3e58e2cb$0$126$edfadb0f / dtext01.news.tele.dk... > {chapter The first chapter} > Here is text. Then next sentence is bolded. {b This is bolded text}. This is > not bold. > {chapter The next chapter} > Here is text in chapter two. > {section a subsection} Text in section. {note needs cleanup} > {chapter Also a chapter} I forgot one important point: STEP is defined such that there is a strict conversion to XML from STEP. In fact my prototype generates XML output. There are several ways to do the translation, but one is easily defined. For example: <document> <chapter> <header>The first chapter</header> <body>Here is text. Then next sentence is bolded. <b>This is bolded text</b>. This is not bold. </chapter> <chapter> <header>The next chapter</header> <body> There is text in chapter two. <section><header>a subsection</header> <body>Text in section <note>needs cleanup</note> </section> </body> </body> </chapter <chapter> <header> Also a chapter </header> <body /> </chapter> </document> Mikkel