W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

plaintext

From: Robert Kromkamp <robertkromkamp@hotmail.com>
Date: Mon, 06 Jan 2003 16:55:10 +0100
To: www-forms@w3.org
Message-ID: <F118cwzSShS3RH6IFmJ00022678@hotmail.com>

Hi,

I've just started learning XMLForms. XMLForms is a combination between 
struts (apache) and XForms. I think i've a very simple question. I see a lot 
of samples how to add HTML components like textboxes and buttons to a page. 
What I want to do is just add plaintext which gives a description of the 
page how to use it.

<?xml version="1.0" encoding="UTF-8"?>

<document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002">

<xf:form id="form-districtreport" view="address" 
action="districtreport.html">
    <xf:caption>title<xf:caption>

    PLAINTEXT HERE!!!!

    <xf:textbox ref="/initials">
        <xf:caption>Initials *</xf:caption>
        <xf:violations class="error"/>
    </xf:textbox>

    <xf:textbox ref="/middlename">
        <xf:caption>Middlenam</xf:caption>
        <xf:violations class="error"/>
    </xf:textbox>

    <xf:textbox ref="/lastname">
        <xf:caption>Lastname *</xf:caption>
        <xf:violations class="error"/>
    </xf:textbox>
</xf:form>

</document>

Thanks,
Robert


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus
Received on Tuesday, 7 January 2003 02:49:14 GMT

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