Commit c34510a0 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Added description of a new generator (ReadCSV)

parent cb273122
......@@ -67,6 +67,32 @@
&lt;/generate&gt;</PRE></P>
<P>Requires: JTidy by ...</P>
<H3>ReadCSV</H3>
<P>Author: Fabien Triolet (INRIA Rhne-Alpes).
Based on code sample in "Java and XSLT" by Eric M. Burke(O'Reilly)</P>
<P>Reads a csv file and generates its XML representation</P>
<P>
<P>Declaration:
<PRE>&lt;defextern name="readcsv"
class="fr.fluxmedia.tmcontrib.generator.ReadCSV"
implements="generator"/&gt;</PRE></P>
<P>Parameters:
<dl compact="1">
<dt><tt>file</tt></dt>
<dd>the name of the file or the URL to read</dd>
<dt><tt>separator</tt></dt>
<dd>the separator char</dd>
</dl>
</P>
<P>Classes: ReadCSV and CSVXMLReader</P>
<P>Use:
<PRE>
&lt;generate id="readCSV" type="readcsv" out="o"&gt;
&lt;with-param name="file"&gt;file name or URL&lt;/with-param&gt;
&lt;with-param name="serparator"&gt;,&lt;/with-param&gt;
&lt;/generate&gt;</PRE></P>
<P>Requires: nothing</P>
<H2><a name="serializer">Serializers</a></H2>
<H3>writevcs</H3>
......@@ -154,7 +180,7 @@ corresponding RTF file.</P>
<SMALL>
<ADDRESS>Feel free to comment to
<a href="mailto:transmorpher-dev@fluxmedia.fr">transmorpher-dev@fluxmedia.fr</a>,
$Id: contrib.html,v 1.6 2002-10-16 07:30:32 jerome Exp $
$Id: contrib.html,v 1.7 2002-10-18 12:22:44 triolet Exp $
</ADDRESS>
</SMALL>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment