[Caml-list] Re: Help with Elliom syntax

2010-11-04 Thread Sylvain Le Gall
Hello, On 04-11-2010, Till Crueger wrote: > Hi, > > I am still trying to find my way with Elliom and Ocsigen. Right now I can > use OCaml to generate the pages I want, but I still have problems to > figure out how to encode the XHTML. The main question I have is how to > assign attributes t

[Caml-list] Re: Help with Elliom syntax

2010-11-04 Thread Sylvain Le Gall
Hello, On 04-11-2010, Till Crueger wrote: > On Thu, 04 Nov 2010 13:31:35 +0100, Sylvain Le Gall > wrote: > >> Most of the time you have an ~a parameter. >> >> Example: >> div ~a:[a_class ["statistics"]] [ h2 [pcdata "Statistics"]; ... ] > > Thanks for the help again. > Is there a place where s

Re: [Caml-list] Re: Help with Elliom syntax

2010-11-04 Thread Till Crueger
On Thu, 04 Nov 2010 13:31:35 +0100, Sylvain Le Gall wrote: Most of the time you have an ~a parameter. Example: div ~a:[a_class ["statistics"]] [ h2 [pcdata "Statistics"]; ... ] Thanks for the help again. Is there a place where such things are documented? Because I was not able to figure