You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by mp...@apache.org on 2003/08/11 11:12:40 UTC
cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/flow jxtemplate.xml
mpo 2003/08/11 02:12:40
Modified: src/documentation/xdocs/userdocs/flow jxtemplate.xml
Log:
Validating xdocs learns that <source> needs no <p> wrapper.
Revision Changes Path
1.19 +1 -4 cocoon-2.1/src/documentation/xdocs/userdocs/flow/jxtemplate.xml
Index: jxtemplate.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/jxtemplate.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- jxtemplate.xml 8 Aug 2003 18:49:06 -0000 1.18
+++ jxtemplate.xml 11 Aug 2003 09:12:40 -0000 1.19
@@ -237,7 +237,7 @@
<p>
The <code>formatNumber</code> tag is used to display numeric data, including currencies and percentages, in a locale-specific manner. It determines from the locale, for example, whether to use a period or a comma for delimiting the integer and decimal portions of a number. Here is its syntax:
</p>
-<p><source>
+<source>
<formatNumber value="Expression"
[type="Type"] [pattern="Expression"]
[currencyCode="Expression"] [currencySymbol="Expression"]
@@ -246,7 +246,6 @@
[groupingUsed="Expression"]
[var="Name"] [locale="Expression"]>
</source>
-</p>
<p>
Only the <code>value</code> attribute is required. It is used to specify the numeric value that is to be formatted.
</p>
@@ -269,13 +268,11 @@
</s2>
<s2 title="formatDate">
<p>The <code>formatDate</code> tag provides facilities to format Date values:</p>
-<p>
<source>
<formatDate value="Expression" [dateStyle="Style"]
[timeStyle="Style"] [pattern="Expression"] [type="Type"] [var="Name"]
[locale="Expression"]>
</source>
-</p>
<p>
Only the value attribute is required. Its value should be an instance of the <code>java.util.Date</code> class, specifying the date and/or time data to be formatted and displayed.</p>