Download Latest Version clisp2xml_0.13.tar.gz (3.5 kB)
Email in envelope

Get an email when there's a new version of Clisp2xml

Home / 0.11
Name Modified Size InfoDownloads / Week
Parent folder
README 2011-05-08 1.9 kB
clisp2xml_0.11.tar.gz 2011-05-08 2.7 kB
Totals: 2 Items   4.6 kB 0
First of all, you need to install the clisp in your computer.
In debian , you can easily type in the follow command
$sudo apt-get install clisp
or you can find it here
http://sourceforge.net/projects/clisp/files/clisp/2.49/clisp-2.49.tar.bz2/download in sourceforge.
_________________________________________________


SYNOPSIS
        (c2h text-clisp [:o output_stream])
        (c2x text-clisp [:k keyword_list :p prefix_list :o output_stream])
USGAGE
        you can just write in the format "(c2x keyword_list)" change the keyword_list with a list like (html (body : "the"))
        the colon here is a  separator. parameters of the tag are on the left,
	text of the tag and its child tags are on the right.
        You can get details about format in the file c2x.cl.
        when starting the clisp , -modern option is recommanded to enable case-sensitive feature. i.e. type
        $clisp -modern
        in the console
OPTION
	:k keyword_list
	this option tells what tags you want to use and to transformed to the xml tags.
	When using c2x command ,you need to replace keyword_list with your own list .
	Or it will be nil.
	
	When using c2h command ,the list is HTML5_Tags_list.So , you can't specify a list yourself.
	This list contains all HTML5 tags. 

	Once encountered  with symbol listed in keyword_list,
	they will be transformed to xml tags
	
	:p prefix_list
	like the :k option , this option tells what prefixes to be used to transform.
	once encountered with symbols with prefixes listed in prefix_list.
	they will be transformed to xml.By default , prefix_list will be nil 
	
	When using c2h command , You cannot specify this option.
	The prefix_list is nil.
	
	:o output_stream
	This option determines what stream to be used . 
	By default, it is nil,i.e.no stream is specified.
	And the expression will return a string containing the output
AUTHORS
	Fancey Ly <li3939108@gmail.com>
Source: README, updated 2011-05-08