
This work is licensed under a Creative Commons Attribution-Share Alike 2.0 France License.
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 1 day ago
3 weeks 4 days ago
11 weeks 6 days ago
12 weeks 6 days ago
17 weeks 1 day ago
23 weeks 4 days ago
25 weeks 1 day ago
26 weeks 6 days ago
29 weeks 1 day ago
29 weeks 5 days ago