File: README.html

package info (click to toggle)
htree 0.0.20040714-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 380 kB
  • ctags: 632
  • sloc: ruby: 5,132; makefile: 65
file content (45 lines) | stat: -rw-r--r-- 2,052 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" ?>
<!DOCTYPE html 
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>README</title>
</head>
<body>
<h1><a name="label-0" id="label-0">htree - HTML/XML tree library</a></h1><!-- RDLabel: "htree - HTML/XML tree library" -->
<p>htree provides a tree data structure which represent HTML and XML data.</p>
<h2><a name="label-1" id="label-1">Features</a></h2><!-- RDLabel: "Features" -->
<ul>
<li>Permissive unified HTML/XML parser</li>
<li>byte-to-byte round-tripping unparser</li>
<li>XML namespace support</li>
<li>Dedicated class for escaped string.  This ease sanitization.</li>
<li>XHTML/XML generator</li>
<li>template engine</li>
<li>recursive template expansion</li>
<li>converter to REXML document</li>
</ul>
<h2><a name="label-2" id="label-2">Home Page</a></h2><!-- RDLabel: "Home Page" -->
<p><a href="http://cvs.m17n.org/~akr/htree/">&lt;URL:http://cvs.m17n.org/~akr/htree/&gt;</a></p>
<h2><a name="label-3" id="label-3">Download</a></h2><!-- RDLabel: "Download" -->
<ul>
<li><a href="http://cvs.m17n.org/viewcvs/ruby/htree.tar.gz">&lt;URL:http://cvs.m17n.org/viewcvs/ruby/htree.tar.gz&gt;</a></li>
</ul>
<h2><a name="label-4" id="label-4">Install</a></h2><!-- RDLabel: "Install" -->
<pre>% ruby install.rb</pre>
<h2><a name="label-5" id="label-5">Reference Manual</a></h2><!-- RDLabel: "Reference Manual" -->
<p><a href="doc/index.html">&lt;URL:doc/index.html&gt;</a></p>
<h2><a name="label-6" id="label-6">Usage Example</a></h2><!-- RDLabel: "Usage Example" -->
<p>Following two-line script convert HTML to XHTML.</p>
<pre>require 'htree'
HTree.parse(STDIN).display_xml</pre>
<p>The conversion method to REXML is provided as to_rexml.</p>
<pre>HTree.parse(...).to_rexml</pre>
<h2><a name="label-7" id="label-7">License</a></h2><!-- RDLabel: "License" -->
<p>Ruby's</p>
<h2><a name="label-8" id="label-8">Author</a></h2><!-- RDLabel: "Author" -->
<p>Tanaka Akira &lt;akr@m17n.org&gt;</p>

</body>
</html>