Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2013-06-20 20:08:06
Size: 445
Editor: rbeezer
Comment:
Revision 8 as of 2013-06-20 20:20:24
Size: 643
Editor: rbeezer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
  1. XSL transform to LaTeX [[attachment:article-latex.xsl]]
  1. XSL transform to XHTML [[attachment:article-html.xsl]]
  1. Example XML document [[attachment:calculus-article.xml]]

== Files and Examples ==

1. XSL transform to LaTeX [[http://buzzard.ups.edu/mathbook/article-latex.xsl]]
  1. XSL transform to XHTML [[http://buzzard.ups.edu/mathbook/article-html.xsl]]
  1. Example XML document [[http://buzzard.ups.edu/mathbook/calculus-article.xml]]
Line 14: Line 17:
Or you should be able to preview Or you should be able to preview the source file (*.xml) by opening it in a web browser with the stylesheet (*.xsl) in the same directory.

MathBook: An XML Application

Files and Examples

  1. XSL transform to LaTeX http://buzzard.ups.edu/mathbook/article-latex.xsl

  2. XSL transform to XHTML http://buzzard.ups.edu/mathbook/article-html.xsl

  3. Example XML document http://buzzard.ups.edu/mathbook/calculus-article.xml

To use, for example, put all files in the same directory and issue

xsltproc article-latex.xsl calculus-article.xml > calculus-article.tex
pdflatex calculus-article.tex

Or you should be able to preview the source file (*.xml) by opening it in a web browser with the stylesheet (*.xsl) in the same directory.

mathbook (last edited 2014-04-30 17:24:35 by rbeezer)