HOME

AppML
AppML HOME

Web Applications
Web Services
Web Solution

AppML Intro
AppML How To
AppML Elements
AppML Services
AppML Document
AppML Database
AppML Reports
AppML Filters
AppML Lists
AppML Forms
AppML XML
AppML Partners

Case Study
Case Intro
Case Database
Case How To
Case HTML Reports
Case Corporate
Case HTML Forms
Case Application


Please visit our sponsors !

AppML HTML List

home next

The <htmllist> element defines the layout of a list of records to be displayed as an entry point to an input form.


HTMLList Sub Elements

The <htmllist> element takes the following sub elements:

  • title
  • stylesheet
  • sql
  • header
  • footer
  • table
  • td

The Title Element

An AppML <title> element inside an <htmllist> element has the same function as the title element inside the <appml> element.

If this element is omitted the application will use the default title from the <appml> element.


The Stylesheet Element

An AppML <stylesheet> element inside an <htmllist> element has the same function as the stylesheet element inside the <appml> element.

If this element is omitted the application will use the default stylesheet from the <appml> element.


The SQL Element

The AppML <sql> element defines the SQL statement to be used to extract data from the database.

If this element is omitted, the input form will use the default <sql> element from database description.


The Header Element

The AppML <header> element is used to define an additional output that will be displayed before the actual HTML List on a page.

Any HTML code may be included inside the <header> element

Example:

<htmllist>

<sql>
select * from customers
</sql>

<header>
<h1>Northwind Traders Customers</h2>
<p>Compiled by John Johnson</p>
</header>
</htmllist>


The Footer Element

The AppML <footer> element is used to define an additional output that will be displayed after the actual HTML List on a page.

Any HTML code may be included inside the <footer> element


The Table Element

The AppML <table> element provides a way to define the style and layout of the report table. An AppML <thead> element can be used inside the table element to define a table header different from the default.

Example:

<htmlreport>

<sql>
select CustomerName, City from Customers
</sql>

<table border="0" class="app">
<thead><tr>
  <th class="app" align="center">Customer Name</th>
  <th class="app" align="left">Customer City</th>
</tr></thead>
/table>
</htmlreport>
 

The TD Element

 


HTMLList Attributes

The New attribute

The new attribute can be used to disable the NEW button from the AppML HTML List.

Example:

<htmllist new="false" delete="false">


An XML Schema for AppML

If you have Internet Explorer, you can Click Here to view the full XML Schema for an AppML document.


home next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


Search W3Schools:


What Others Say About Us

Does the world know about us? Check out these places:

Dogpile Alta Vista MSN Google Excite Lycos Yahoo Ask Jeeves


We Help You For Free. You Can Help Us!


W3Schools is for training only. We do not warrant its correctness or its fitness for use. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2002 by Refsnes Data. All Rights Reserved


Validate How we converted to XHTML Validate

ASPHits
Active Server Pages Resource Web Site


Your own Web Site?

Read W3Schools
Hosting Tutorial



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

University Online
Master Degree
Bachelor Degree


Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search