Eliminated tabs.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2005-06-26 22:39:42 +00:00
parent 837fb724fb
commit 30f22d9481
14 changed files with 507 additions and 507 deletions

View File

@ -43,72 +43,72 @@
<subsection name="Contributing">
<p>
Here are some steps to take to get starting contributing to commons-math:
</p>
<p>
<ol>
<li>Start by reviewing the overall objectives stated in the
<a href="proposal.html">proposal</a> upon which the project is
founded.
</li>
<li>Download the commons math source code. Follow the instructions
under the heading "Anonymous Subversion"
<a href="http://www.apache.org/dev/version-control.html">here</a> (and
also have a look <a href="http://wiki.apache.org/jakarta-commons/UsingSVN">
here</a>) to check out the commons math code base from Subversion
(Jakarta Commons now uses Subversion as our source control system). The
svn url for the current development sources of commons-math
is
</p>
<p>
<ol>
<li>Start by reviewing the overall objectives stated in the
<a href="proposal.html">proposal</a> upon which the project is
founded.
</li>
<li>Download the commons math source code. Follow the instructions
under the heading "Anonymous Subversion"
<a href="http://www.apache.org/dev/version-control.html">here</a> (and
also have a look <a href="http://wiki.apache.org/jakarta-commons/UsingSVN">
here</a>) to check out the commons math code base from Subversion
(Jakarta Commons now uses Subversion as our source control system). The
svn url for the current development sources of commons-math
is
<source>https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk</source>
</li>
<li>Have a look at the new features that users and developers have requested
on the <a href="http://wiki.apache.org/jakarta-commons/MathWishList">
Math Wish List Wiki Page.</a>
</li>
<li>Be sure to join the commons-dev and commons-user
<a href="mail-lists.html">
email lists</a> and use them appropriately (make sure the string
"[math]" starts the Subject line of all your postings).
Make any proposals here where the group can comment on them.
</li>
<li>
<a href="http://issues.apache.org/bugzilla/createaccount.cgi">
Setup an account on Bugzilla</a> and use it to submit patches and
identify bugs. Read the
<a href="http://issues.apache.org/bugwritinghelp.html">
directions</a> for submitting bugs and search the database to
determine if an issue exists or has already been dealt with.
<p>
Submitting Issues:
</p>
<ul>
<li><a href="http://issues.apache.org/bugzilla/enter_bug.cgi?reporter=&amp;product=Commons&amp;version=unspecified&amp;component=Math&amp;rep_platform=All&amp;op_sys=All&amp;priority=Other&amp;bug_severity=normal&amp;bug_status=NEW&amp;assigned_to=&amp;cc=&amp;bug_file_loc=&amp;short_desc=%5Bmath%5D%5Bpatch%5D+%22Your+subject+heading+here%22&amp;comment=Please+provide+details+here.+Its+best+to+submit+patches+that+alter+existing+file%0D%0Acontent+in+%22unified+cvs+diff%22+format.+%0D%0A%0D%0ASubmissions+that+provide+new+files+can+be+supplied+as+direct+file+attachments+or%0D%0Aarchives+in+zip+or+tar.gz+format.+please+be+kind+enough+to+identify+the+format%0D%0Aof+the+attached+archive+as+bugzill+tends+to+strip+these+characterstics+by%0D%0Aremoving+the+files+extension.&amp;maketemplate=Remember+values+as+bookmarkable+template&amp;form_name=enter_bug">
Bookmarkable Template for submitting patches.
</a></li>
<li><a href="http://issues.apache.org/bugzilla/enter_bug.cgi?reporter=&amp;product=Commons&amp;version=unspecified&amp;component=Math&amp;rep_platform=All&amp;op_sys=All&amp;priority=Other&amp;bug_severity=normal&amp;bug_status=NEW&amp;assigned_to=&amp;cc=&amp;bug_file_loc=http%3A%2F%2F&amp;short_desc=%5Bmath%5D+%22Your+subject+heading+here%22&amp;comment=Please+review+the+bug+writing+guidelines+and+supply+as+much+detail+as+possible%0D%0Ato+allow+us+to+diagnose+and+correct+the+existing+issue.+Please+search+the+bug%0D%0Adatabase+to+determine+if+the+bug+has+possibly+been+addressed+in+the+past.&amp;maketemplate=Remember+values+as+bookmarkable+template&amp;form_name=enter_bug">
Bookmarkable Template for submitting bugs.
</a></li>
</ul>
<p>
Querying the Database:
</p>
<ul>
<li><a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=Commons&amp;component=Math&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;keywords=&amp;keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time">
New and Existing Issues.
</a></li>
<li><a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=RESOLVED&amp;bug_status=VERIFIED&amp;bug_status=CLOSED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=Commons&amp;component=Math&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;keywords=&amp;keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time">
Resolved and Closed Issues.
</a></li>
</ul>
<li>
Generating patches: The requested format for generating patches is the Unified Diff format,
which can be easily generated using the svn client or Eclipse IDE.
</li>
<li>Have a look at the new features that users and developers have requested
on the <a href="http://wiki.apache.org/jakarta-commons/MathWishList">
Math Wish List Wiki Page.</a>
</li>
<li>Be sure to join the commons-dev and commons-user
<a href="mail-lists.html">
email lists</a> and use them appropriately (make sure the string
"[math]" starts the Subject line of all your postings).
Make any proposals here where the group can comment on them.
</li>
<li>
<a href="http://issues.apache.org/bugzilla/createaccount.cgi">
Setup an account on Bugzilla</a> and use it to submit patches and
identify bugs. Read the
<a href="http://issues.apache.org/bugwritinghelp.html">
directions</a> for submitting bugs and search the database to
determine if an issue exists or has already been dealt with.
<p>
Submitting Issues:
</p>
<ul>
<li><a href="http://issues.apache.org/bugzilla/enter_bug.cgi?reporter=&amp;product=Commons&amp;version=unspecified&amp;component=Math&amp;rep_platform=All&amp;op_sys=All&amp;priority=Other&amp;bug_severity=normal&amp;bug_status=NEW&amp;assigned_to=&amp;cc=&amp;bug_file_loc=&amp;short_desc=%5Bmath%5D%5Bpatch%5D+%22Your+subject+heading+here%22&amp;comment=Please+provide+details+here.+Its+best+to+submit+patches+that+alter+existing+file%0D%0Acontent+in+%22unified+cvs+diff%22+format.+%0D%0A%0D%0ASubmissions+that+provide+new+files+can+be+supplied+as+direct+file+attachments+or%0D%0Aarchives+in+zip+or+tar.gz+format.+please+be+kind+enough+to+identify+the+format%0D%0Aof+the+attached+archive+as+bugzill+tends+to+strip+these+characterstics+by%0D%0Aremoving+the+files+extension.&amp;maketemplate=Remember+values+as+bookmarkable+template&amp;form_name=enter_bug">
Bookmarkable Template for submitting patches.
</a></li>
<li><a href="http://issues.apache.org/bugzilla/enter_bug.cgi?reporter=&amp;product=Commons&amp;version=unspecified&amp;component=Math&amp;rep_platform=All&amp;op_sys=All&amp;priority=Other&amp;bug_severity=normal&amp;bug_status=NEW&amp;assigned_to=&amp;cc=&amp;bug_file_loc=http%3A%2F%2F&amp;short_desc=%5Bmath%5D+%22Your+subject+heading+here%22&amp;comment=Please+review+the+bug+writing+guidelines+and+supply+as+much+detail+as+possible%0D%0Ato+allow+us+to+diagnose+and+correct+the+existing+issue.+Please+search+the+bug%0D%0Adatabase+to+determine+if+the+bug+has+possibly+been+addressed+in+the+past.&amp;maketemplate=Remember+values+as+bookmarkable+template&amp;form_name=enter_bug">
Bookmarkable Template for submitting bugs.
</a></li>
</ul>
<p>
Querying the Database:
</p>
<ul>
<li><a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=Commons&amp;component=Math&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;keywords=&amp;keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time">
New and Existing Issues.
</a></li>
<li><a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=RESOLVED&amp;bug_status=VERIFIED&amp;bug_status=CLOSED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=Commons&amp;component=Math&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;keywords=&amp;keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=&amp;cmdtype=doit&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time">
Resolved and Closed Issues.
</a></li>
</ul>
<li>
Generating patches: The requested format for generating patches is the Unified Diff format,
which can be easily generated using the svn client or Eclipse IDE.
<source>svn diff > patch </source>
</li>
</li>
</li>
</ol>
</li>
</ol>
</p>
</subsection>
<subsection name='Coding Style'>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

View File

@ -43,8 +43,8 @@
</section>
<section name='Distribution Contents'>
<subsection name="Binary Releases (tar.gz and zip)">
<source>
<source>
Length Date Time Name
-------- ---- ---- ----
0 01-29-04 09:31 commons-math-0.1-dev/
@ -61,7 +61,7 @@
31605 01-29-04 09:31 commons-math-0.1-dev/commons-logging-1.0.3.jar
169763 01-29-04 09:31 commons-math-0.1-dev/commons-lang-2.0.jar
</source>
</source>
</subsection>
<subsection name="Source Releases">
<p>
@ -98,7 +98,7 @@
*jar release* (jar)
</p>
<source>
Archive: commons-math-0.1-dev.jar
Length Date Time Name

View File

@ -1,7 +1,7 @@
#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks {
display: none;
}
body.docs div.docs {
margin: 0 !important;
border: none !important
}
#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks {
display: none;
}
body.docs div.docs {
margin: 0 !important;
border: none !important
}

File diff suppressed because it is too large Load Diff

View File

@ -33,10 +33,10 @@
</subsection>
<subsection name="7.2 Complex Numbers" href="complex">
<p>
<a href="../apidocs/org/apache/commons/math/complex/Complex.html">
org.apache.commons.math.complex.Complex</a> provides a complex number
type that forms the basis for the complex functionality found in
commons-math.
<a href="../apidocs/org/apache/commons/math/complex/Complex.html">
org.apache.commons.math.complex.Complex</a> provides a complex number
type that forms the basis for the complex functionality found in
commons-math.
</p>
<p>
To create a complex number, simply call the constructor passing in two
@ -61,12 +61,12 @@ Complex answer = lhs.add(rhs); // add two complex numbers
</subsection>
<subsection name="7.3 Complex Transcendental Functions" href="function">
<p>
<a href="../apidocs/org/apache/commons/math/complex/ComplexUtils.html">
org.apache.commons.math.complex.ComplexMath</a> provides
implementations of serveral transcendental functions involving complex
number arguments. These operations provide the means to compute the
log, sine, tangent and, other complex values similar to the real
number functions found in <code>java.lang.Math</code>:
<a href="../apidocs/org/apache/commons/math/complex/ComplexUtils.html">
org.apache.commons.math.complex.ComplexMath</a> provides
implementations of serveral transcendental functions involving complex
number arguments. These operations provide the means to compute the
log, sine, tangent and, other complex values similar to the real
number functions found in <code>java.lang.Math</code>:
<source>Complex first = new Complex(1.0, 3.0);
Complex second = new Complex(2.0, 5.0);
@ -79,11 +79,11 @@ Complex answer = ComplexMath.log(first); // natural logarithm.
<p>
<code>Complex</code> instances can be converted to and from strings
using the<a href="../apidocs/org/apache/commons/math/complex/ComplexFormat.html">
org.apache.commons.math.complex.ComplexFormat</a> class.
<code>ComplexFormat</code> is a <code>java.text.Format</code>
extension and, as such, is used like other formatting objects (e.g.
<code>java.text.SimpleDateFormat</code>):
<source>ComplexFormat format = new ComplexFormat(); // default format
org.apache.commons.math.complex.ComplexFormat</a> class.
<code>ComplexFormat</code> is a <code>java.text.Format</code>
extension and, as such, is used like other formatting objects (e.g.
<code>java.text.SimpleDateFormat</code>):
<source>ComplexFormat format = new ComplexFormat(); // default format
Complex c = new Complex(1.1111, 2.2222);
String s = format.format(c); // s contains "1.11 + 2.22i"</source>
</p>
@ -110,20 +110,20 @@ nf.setMaximumFractionDigits(1);
// create complex format with custom number formats
cf = new ComplexFormat(nf, nf2);
s = format.format(c); // s contains "1.110 + 2.2i"</source>
</p>
<p>
Another formatting customization provided by
<code>ComplexFormat</code> is the text used for the imaginary
designation. By default, the imaginary notation is "i" but, it can be
manipulated using the <code>setImaginaryCharacter</code> method.
</p>
<p>
Formatting inverse operation, parsing, can also be performed by
<code>ComplexFormat</code>. Parse a complex number from a string,
simply call the <code>parse</code> method:
<source>ComplexFormat cf = new ComplexFormat();
</p>
<p>
Another formatting customization provided by
<code>ComplexFormat</code> is the text used for the imaginary
designation. By default, the imaginary notation is "i" but, it can be
manipulated using the <code>setImaginaryCharacter</code> method.
</p>
<p>
Formatting inverse operation, parsing, can also be performed by
<code>ComplexFormat</code>. Parse a complex number from a string,
simply call the <code>parse</code> method:
<source>ComplexFormat cf = new ComplexFormat();
Complex c = cf.parse("1.110 + 2.222i");</source>
</p>
</p>
</subsection>
</section>
</body>

View File

@ -32,10 +32,10 @@
</subsection>
<subsection name="9.2 Fraction Numbers" href="fraction">
<p>
<a href="../apidocs/org/apache/commons/math/fraction/Fraction.html">
org.apache.commons.math.fraction.Fraction</a> provides a fraction number
type that forms the basis for the fraction functionality found in
commons-math.
<a href="../apidocs/org/apache/commons/math/fraction/Fraction.html">
org.apache.commons.math.fraction.Fraction</a> provides a fraction number
type that forms the basis for the fraction functionality found in
commons-math.
</p>
<p>
To create a fraction number, simply call the constructor passing in two
@ -66,11 +66,11 @@ Fraction answer = lhs.add(rhs); // add two fractions
<p>
<code>Fraction</code> instances can be converted to and from strings
using the<a href="../apidocs/org/apache/commons/math/fraction/FractionFormat.html">
org.apache.commons.math.fraction.FractionFormat</a> class.
<code>FractionFormat</code> is a <code>java.text.Format</code>
extension and, as such, is used like other formatting objects (e.g.
<code>java.text.SimpleDateFormat</code>):
<source>FractionFormat format = new FractionFormat(); // default format
org.apache.commons.math.fraction.FractionFormat</a> class.
<code>FractionFormat</code> is a <code>java.text.Format</code>
extension and, as such, is used like other formatting objects (e.g.
<code>java.text.SimpleDateFormat</code>):
<source>FractionFormat format = new FractionFormat(); // default format
Fraction f = new Fraction(2, 4);
String s = format.format(f); // s contains "1 / 2", note the reduced fraction</source>
</p>
@ -91,14 +91,14 @@ NumberFormat nf2 = NumberFormat.getInstance(Locale.US);
// create fraction format with custom number formats
format = new FractionFormat(nf, nf2);
s = format.format(f); // s contains "2.000 / 3,333"</source>
</p>
<p>
Formatting's inverse operation, parsing, can also be performed by
<code>FractionFormat</code>. To parse a fraction from a string,
simply call the <code>parse</code> method:
<source>FractionFormat ff = new FractionFormat();
</p>
<p>
Formatting's inverse operation, parsing, can also be performed by
<code>FractionFormat</code>. To parse a fraction from a string,
simply call the <code>parse</code> method:
<source>FractionFormat ff = new FractionFormat();
Fraction f = ff.parse("-10 / 21");</source>
</p>
</p>
</subsection>
</section>
</body>

View File

@ -68,7 +68,7 @@ System.out.println(p.getRowDimension()); // 2
// Invert p
RealMatrix pInverse = p.inverse();
</source>
</source>
</p>
</subsection>
<subsection name="3.3 Solving linear systems" href="solve">

View File

@ -140,10 +140,10 @@ for( int i = 0; i &lt; inputArray.length; i++) {
double mean = stats.getMean();
double std = stats.getStandardDeviation();
double median = stats.getMedian();
</source>
</dd>
<dd>Using the <code>SummaryStatistics</code> aggregate (values are
<strong>not</strong> stored in memory):
</source>
</dd>
<dd>Using the <code>SummaryStatistics</code> aggregate (values are
<strong>not</strong> stored in memory):
<source>
// Get a SummaryStatistics instance using factory method
SummaryStatistics stats = SummaryStatistics.newInstance();
@ -160,9 +160,9 @@ in.close();
double mean = stats.getMean();
double std = stats.getStandardDeviation();
//double median = stats.getMedian(); &lt;-- NOT AVAILABLE
</source>
</dd>
<dd>Using the <code>StatUtils</code> utility class:
</source>
</dd>
<dd>Using the <code>StatUtils</code> utility class:
<source>
// Compute statistics directly from the array
// assume values is a double[] array
@ -172,14 +172,14 @@ double median = StatUtils.percentile(50);
// Compute the mean of the first three values in the array
mean = StatuUtils.mean(values, 0, 3);
</source>
</dd>
<dt>Maintain a "rolling mean" of the most recent 100 values from
an input stream</dt>
<br></br>
<dd>Use a <code>DescriptiveStatistics</code> instance with
window size set to 100
<source>
</source>
</dd>
<dt>Maintain a "rolling mean" of the most recent 100 values from
an input stream</dt>
<br></br>
<dd>Use a <code>DescriptiveStatistics</code> instance with
window size set to 100
<source>
// Create a DescriptiveStats instance and set the window size to 100
DescriptiveStatistics stats = DescriptiveStatistics.newInstance();
stats.setWindowSize(100);
@ -197,10 +197,10 @@ while (line != null) {
}
}
in.close();
</source>
</dd>
</dl>
</p>
</source>
</dd>
</dl>
</p>
</subsection>
<subsection name="1.3 Frequency distributions" href="frequency">
<p>

View File

@ -1,50 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
@import url("../style/tigris.css");
@import url("../style/maven.css");
@import url("../style/project.css");
</style>
<link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link>
</head>
<xsl:apply-templates select="/document/body"/>
</html>
</xsl:template>
<xsl:template match="body">
<body>
<div class="app">
<xsl:apply-templates/>
</div>
</body>
</xsl:template>
<xsl:template match="section">
<div>
<h3><xsl:value-of select="@name"/></h3>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="subsection">
<div>
<h4><xsl:value-of select="@name"/></h4>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="source">
<div id="source">
<pre>
<xsl:apply-templates/>
</pre>
</div>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="/">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
@import url("../style/tigris.css");
@import url("../style/maven.css");
@import url("../style/project.css");
</style>
<link rel="stylesheet" href="../style/print.css" type="text/css" media="print"></link>
</head>
<xsl:apply-templates select="/document/body"/>
</html>
</xsl:template>
<xsl:template match="body">
<body>
<div class="app">
<xsl:apply-templates/>
</div>
</body>
</xsl:template>
<xsl:template match="section">
<div>
<h3><xsl:value-of select="@name"/></h3>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="subsection">
<div>
<h4><xsl:value-of select="@name"/></h4>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="source">
<div id="source">
<pre>
<xsl:apply-templates/>
</pre>
</div>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

View File

@ -16,51 +16,51 @@
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
@import url("./style/tigris.css");
@import url("./style/maven.css");
@import url("./style/project.css");
</style>
<link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link>
</head>
<xsl:apply-templates select="/document/body"/>
</html>
</xsl:template>
<xsl:template match="body">
<body>
<div class="app">
<xsl:apply-templates/>
</div>
</body>
</xsl:template>
<xsl:template match="section">
<div>
<h3><xsl:value-of select="@name"/></h3>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="subsection">
<div>
<h4><xsl:value-of select="@name"/></h4>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="source">
<div id="source">
<pre>
<xsl:apply-templates/>
</pre>
</div>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="/">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<xsl:apply-templates select="/document/properties/title"/>
<xsl:apply-templates select="/document/meta"/>
<style type="text/css">
@import url("./style/tigris.css");
@import url("./style/maven.css");
@import url("./style/project.css");
</style>
<link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link>
</head>
<xsl:apply-templates select="/document/body"/>
</html>
</xsl:template>
<xsl:template match="body">
<body>
<div class="app">
<xsl:apply-templates/>
</div>
</body>
</xsl:template>
<xsl:template match="section">
<div>
<h3><xsl:value-of select="@name"/></h3>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="subsection">
<div>
<h4><xsl:value-of select="@name"/></h4>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="source">
<div id="source">
<pre>
<xsl:apply-templates/>
</pre>
</div>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>