W3C home > Mailing lists > Public > www-forms@w3.org > August 2004

Labels in host language

From: <Klaas_Bals@inventivedesigners.com>
Date: Fri, 20 Aug 2004 15:00:35 +0200
To: www-forms@w3.org
Message-ID: <OFDF4476E4.9B175BC2-ONC1256EF6.00463CAE-C1256EF6.0047778B@inventivedesigners.com>

Take the following example:

<xfm:input ref="number">
  <xfm:label>Credit Card Number:</xfm:label>
</xfm:input>

Question 1: Is it possible to separate the label and the input control in 
the displayed form? I would like to achieve something like the sample 
below. ('host' represents the namespace prefix for the host language)

<host:table-row>
  <host:table-cell>
    <xfm:label id="xyz">Credit Card Number:</xfm:label>
  </host:table-cell>
  <host:table-cell>
    <xfm:input ref="number">
      <xfm:label refid="xyz"/>
    </xfm:input>
  </host:table-cell>
</host:table-row>




Question 2: Is it allowed to embed elements from the host language inside 
the label?

<xfm:input ref="number">
  <xfm:label><xfm:term>Credit Card</xfm:term> Number:</xfm:label>
</xfm:input>


Thanks for you feedback!
-----
Klaas Bals  -  CTO
Inventive Designers
Direct Phone: +32 - 3 - 8210183
Office Phone: +32 - 3 - 8210170
Office Fax: +32 - 3 - 8210171
Email: Klaas_Bals at inventivedesigners dot com
Received on Friday, 20 August 2004 13:01:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:58 GMT