Please visit our sponsors !
AppML HTML List
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.
Jump to: Top of Page
or HOME or
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
|