From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43222 invoked by alias); 23 May 2017 13:11:11 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 39949 invoked by uid 89); 23 May 2017 13:11:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:kawa@so, recommend X-HELO: mail-wm0-f51.google.com Received: from mail-wm0-f51.google.com (HELO mail-wm0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 May 2017 13:11:08 +0000 Received: by mail-wm0-f51.google.com with SMTP id d127so25673975wmf.0 for ; Tue, 23 May 2017 06:11:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rJaWv9MzSi1B5pkbsXhzLuwN+SFa7VnOzkZFE8BVIVU=; b=U/cVZSMYjrC4RtthjeFrlLYn0ghSMHNXetQGuigi4bmJ+4vgscpH6OpaorvWgxrv/9 +IxJSIIihFP224gQZ3xvFpJ3xIrp1qBGtxG0/oRhpCrTJg8H0Wu1b+rkCGapKq69U8Ut 59F6hUcO+v388MZygQOt8KH9c93aqYiyK6GYnUKmt45wu+J9lLCr2UpYHZlVgTVqceLZ Fvaiz38SVPJN8Ervc+NoR51kVZOAhJTm+w0+RoErT4bjoSXqvxzA1fyfoRU8EZ7SDXpC 9iIcX23kEXtz/GXVY0+ogaMXTqyUw43Qd6ZKEowMNe/6/3X1ei4H8OE2qseREWqFHzNV mamw== X-Gm-Message-State: AODbwcCnTVlig/AGhJP56alpaGYaPd451bAtth/dS56NqIYhtXoZYc9R uHT1av27dYxBtNDfGLitL3h63LrCUg== X-Received: by 10.223.152.6 with SMTP id v6mr15169326wrb.60.1495545068384; Tue, 23 May 2017 06:11:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.168.106 with HTTP; Tue, 23 May 2017 06:10:47 -0700 (PDT) In-Reply-To: References: <201705151611.09622.Damien.Mattei@unice.fr> <20170515165710.GA2081@moita.oca.eu> <3fbfb5fb-fbcb-b772-45c5-e330112a8498@bothner.com> <201705221126.45847.Damien.Mattei@unice.fr> <9c5623e9-985a-75ea-d7bf-5c81667bc884@bothner.com> From: Damien Mattei Date: Tue, 23 May 2017 13:11:00 -0000 Message-ID: Subject: Fwd: xml literals To: Kawa Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00081.txt.bz2 ---------- Forwarded message ---------- From: Damien Mattei Date: Tue, May 23, 2017 at 1:08 PM Subject: Re: xml literals To: Per Bothner thank you Per, i cannot test all for now but it works, just : On Mon, May 22, 2017 at 5:44 PM, Per Bothner wrote: > With XML literals: > #
works with BORDER="1" in Kawa , HTML also accept BORDER alone . >> /dev/stdin:3:1: missing '>' after start element > > > The error messages could do with improvement. but the fix is simple: > Attributes values have to be quoted in XML and XML literals, > though not always in HTML: > > #toto > >> any idea? >> for creating this with literals: > > > > > However, note that case is significant in XML (though not HTML), so I > recommend lower-case: > > #
> > Using function call syntax: > > (html:table dir: "LTR" width: 315 id: "table_observateurs") > > Number attribute values don't have to be quoted - it should work either way. > > -- > --Per Bothner > per@bothner.com http://per.bothner.com/