W3C home > Mailing lists > Public > public-xformsusers@w3.org > October 2016

Re: Markup for examples

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Mon, 31 Oct 2016 14:30:24 -0700
Message-ID: <CAAc0PEUDt9z00+49PNqA0ntFpiT0E0A2L5BGA7E+8R=Xqx84BQ@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
+1.

On Mon, Oct 31, 2016 at 1:45 PM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> I am on an editing roll at the moment, but the doubly-nested markup needed
> for examples was driving me crazy.
>
> So I have introduced a new markup for examples, and adjusted the style
> sheet accordingly.
>
> Instead of:
>
>         <div class="exampleOuter"><div class="exampleHead">Example: The
> output control</div><div class="exampleInner">
>
>          <output ref="age" label="Age:"/>
>          <output ref="age"><label>Age:</label></output>
>          <output value="amount*taxrate" label="Tax:"/>
>
>         </div></div>
>
> you can now write:
>
>         <div class="example title="The output control">
>          <output ref="age" label="Age:"/>
>          <output ref="age"><label>Age:</label></output>
>          <output value="amount*taxrate" label="Tax:"/>
>         </div>
>
> Steven
>
>
Received on Monday, 31 October 2016 21:31:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 31 October 2016 21:31:18 UTC