commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-commons/math/xdocs/userguide xdoc.xsl
Date Sat, 15 Nov 2003 18:43:24 GMT
dirkv       2003/11/15 10:43:24

  Added:       math/xdocs/userguide xdoc.xsl
  Reapply changeset (mdiggory    2003/11/09 12:17:50)
   Adding documentation for Contributors.
   Adding xsl stylesheets to render xdoc in browser and css to style content, this makes testing
documentation additions easier without rendering the entire site. Simply open up xdoc in browser
to see what it will look like after rendering.
  Revision  Changes    Path
  1.1                  jakarta-commons/math/xdocs/userguide/xdoc.xsl
  Index: xdoc.xsl
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="">
  	<xsl:template match="/">
  		<html xmlns:xsi="">
  				<xsl:apply-templates select="/document/properties/title"/>
  				<xsl:apply-templates select="/document/meta"/>
  				<style type="text/css">
            			@import url("../stylesheets/tigris.css");
            			@import url("../stylesheets/maven.css");
          		<link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link>
  			<xsl:apply-templates select="/document/body"/>
  	<xsl:template match="body">
  			<div class="app">
  	<xsl:template match="section">
  			<h3><xsl:value-of select="@name"/></h3>
  	<xsl:template match="subsection">
  			<h4><xsl:value-of select="@name"/></h4>
  	<xsl:template match="node()|@*">
  			<xsl:apply-templates select="@*"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message