From: Dave Thomas Date: 2001-10-24T07:33:24+09:00 Subject: [ruby-talk:23111] Re: splitting a string with nested elements Tobias Reif writes: > Dave Thomas wrote: > > This sounds scary, but I use it to convert the Ruby book source, > > into XML. > > ... into Docbook? from what? and then? just (obviously) curious ;) No, just a random schema that fits the book (docbook doesn't do stuff I needed). The physical book is printed straight from the Postscript generated by LaTeX, but to generate the online version, I convert the LaTeX to XML, then use XSL to get something in HTML. (It's kinda messy, and not the way we'd have done it had we known we were going to open-content the book, but it works... Believe me, I tried many, many tools to try to avoid doing the conversion myself, and none did everything I needed.) Dave