From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id E0E90BC57 for ; Thu, 4 Nov 2010 12:44:05 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAAAOY40kzVpUAWi2dsb2JhbACiCAEBAQoLCgcPBR+8coVGBIpV X-IronPort-AV: E=Sophos;i="4.58,295,1286143200"; d="scan'208";a="77723622" Received: from mailout-de.gmx.net (HELO mail.gmx.net) ([213.165.64.22]) by mail2-smtp-roc.national.inria.fr with SMTP; 04 Nov 2010 12:44:05 +0100 Received: (qmail invoked by alias); 04 Nov 2010 11:44:05 -0000 Received: from ip-88-153-45-124.unitymediagroup.de (EHLO mail.gmx.net) [88.153.45.124] by mail.gmx.net (mp010) with SMTP; 04 Nov 2010 12:44:05 +0100 X-Authenticated: #20429361 X-Provags-ID: V01U2FsdGVkX1/PQ7pT6H3Pj2pkUdJhaZOF/CIxdZuE/gPfasAjqk Gs2lLswG+d545r Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "caml-list@yquem.inria.fr" Date: Thu, 04 Nov 2010 12:44:05 +0100 Subject: Help with Elliom syntax MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Till Crueger" Message-ID: User-Agent: Opera Mail/10.63 (Linux) X-Y-GMX-Trusted: 0 X-Spam: no; 0.00; syntax:01 ocaml:01 encode:01 functions:01 div:97 assign:05 assign:05 blocks:07 attributes:08 object:09 actually:10 question:13 should:13 but:14 but:14 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 to elements, like div blocks or others. I found the a_id functions that should return an id object, but I have not figured out how to use it to actually assign the id. Thanks for your help again, Till