I wrote a small patch to manipulate cdata section in cduce as follow:
abate@zed.fr:~/Projects/cduce-ocaml-3.10$ledit ./cduce
CDuce version 0.5.0
# cdata_of ;;
- : String -> String =
# type a = Cdata ;;
Characters 6-7:
Capture variable not allowed: Cdata
# type a = String ;;
# let b : a = (cdata_of "ggg>>" );;
val b : a = 'ggg>>'
# print_xml b ;;
- : Latin1 = ">]]>"
# let [ c ] = map [ b ] with c -> c ;;
val c : a = ggg>>
# print_xml c;;
- : Latin1 = ">]]>"
the code in in the svn repository:
http://cduce.org/cgi-bin/viewcvs.cgi/cduce/trunk/?root=svn
Recent comments
3 weeks 3 days ago
3 weeks 6 days ago
12 weeks 1 day ago
13 weeks 1 day ago
17 weeks 3 days ago
23 weeks 6 days ago
25 weeks 3 days ago
27 weeks 1 day ago
29 weeks 3 days ago
30 weeks 8 hours ago