CSV to HTML translation: Difference between revisions
Content added Content deleted
(→{{header|Factor}}: simplify) |
|||
Line 1,623:
=={{header|Factor}}==
<lang factor>USING:
"Character,Speech
Line 1,635 ⟶ 1,632:
The multitude,Behold his mother! Behold his mother!"
string>csv [ simple-table. ] with-html-writer pprint-xml</lang>
[▼
{▼
{{out}}
<lang html5><table style="display: inline-table; border-collapse: collapse;">
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
<tr><td>The multitude</td><td>The messiah! Show us the messiah!</td></tr>▼
Character
<tr><td>Brians mother</td><td><angry>Now you listen here! He's not the messiah; he's a very naughty boy! Now go away!</angry></td></tr>▼
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr>▼
▲ </td>
</table></lang>▼
</tr>
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
The multitude
▲ </td>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
▲ </td>
</tr>
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
Brians mother
</td>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
▲
naughty boy! Now go away!</angry>
</td>
</tr>
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
The multitude
</td>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
Who are you?
</td>
</tr>
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
Brians mother
</td>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
I'm his mother; that's who!
</td>
</tr>
<tr>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
The multitude
</td>
<td valign="top" style="border: 1px solid #cccccc; padding: 2px; ">
</td>
</tr>
</table>
=={{header|Forth}}==
|