Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moex
Transmorpher
Commits
c34510a0
Commit
c34510a0
authored
Oct 18, 2002
by
Fabien Triolet
Browse files
Added description of a new generator (ReadCSV)
parent
cb273122
Changes
1
Hide whitespace changes
Inline
Side-by-side
transmorpher/refman/contrib.html
View file @
c34510a0
...
...
@@ -67,6 +67,32 @@
<
/generate
>
</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>
<
defextern name="readcsv"
class="fr.fluxmedia.tmcontrib.generator.ReadCSV"
implements="generator"/
>
</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>
<
generate id="readCSV" type="readcsv" out="o"
>
<
with-param name="file"
>
file name or URL
<
/with-param
>
<
with-param name="serparator"
>
,
<
/with-param
>
<
/generate
>
</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-1
6 07:30:32 jerome
Exp $
$Id: contrib.html,v 1.
7
2002-10-1
8 12:22:44 triolet
Exp $
</ADDRESS>
</SMALL>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment