How this book was created

  
Prev don't be afraid of buying books Next

"Practice what you preach." "Eat your own dogfood." One way or the other, this book itself uses many of the techniques it describes.

The text of the book was written directly in XML using a custom schema inspired by HTML, DocBook, and Charles F. Goldfarb's DTD that is used by many books in this Definitive XML Series. An XSLT transformation stylesheet written by Alina Kirsanova translated the source into XSL-FO and performed all necessary processing, such as importing code examples (stored separately), special character substitutions ( 5.4.2.2 ), compiling the Index and TOC, and generating cross-references.

The design for the book was also created by me, with elements borrowed from the other books in the series that we worked on using the same XML/XSLT/XSL-FO technology. The final rendering of XSL-FO into PDF was done by XEP [4] from RenderX.

[4] xep.xattic.com

Code examples (in a total of 11 different formats and XML vocabularies) were parsed by XEmacs + PSGML ( 6.1.1.2 ) with custom syntax coloring regexps and then saved into XHTML using htmlize.el [5] by Hrvoje Nik i . The resulting files were then translated by a simple stylesheet into a vocabulary understood by the book's main transformation stylesheet.

[5] fly.srk.fer.hr/~hniksic/emacs/htmlize.el

 
  
Amazon


XSLT 2.0 Web Development
ASP.Net 2.0 Cookbook (Cookbooks (OReilly))
ISBN: 0596100647
EAN: 2147483647
Year: 2006
Pages: 90

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net