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 !

The AppML Document

home next

With AppML, the <appml> element defines an AppML application.


The AppML Element

AppML uses an <appml> document to describe an AppML application. Inside the <appml> document, the <database> element is used to describe a connection to a database. Other elements, like the <htmlreport> element and the <htmlform> element, are used to describe different parts of the application.

<appml>
<database>
  <connection>music_db</connection>
  <sql>select title,artist,year from cd_catalog</sql>
</database>
</appml>

A view of the database content is displayed below:

TITLE ARTIST YEAR
Empire Burlesque Bob Dylan 1985
Hide your heart Bonnie Tyler 1988
Greatest Hits Dolly Parton 1982


AppML Sub Elements

The following sub elements can be used to add more information to the application:

  • title
  • stylesheet
  • database
  • filters
  • header
  • footer
  • htmlreport
  • xmlreport
  • htmllist
  • htmledit
  • htmlform

The Title Element

The AppML <title> element defines a title for the application.

The title will be displayed in the browser caption, and as a default header for HTML reports and other output.


The Stylesheet Element

The AppML <stylesheet> element defines a default stylesheet for the application.


The Database Element

AppML uses an <appml> document to describe an AppML application. Inside the AppML document a <database> element describes the connection to a database:

<appml>
<database>
<connection>music_db</connection>
<sql>select title,artist,year from cd_catalog</sql>
</database>
</appml>

A "view" of the database content is displayed below:

TITLE ARTIST YEAR
Empire Burlesque Bob Dylan 1985
Hide your heart Bonnie Tyler 1988
Greatest Hits Dolly Parton 1982


The Filters Element

The AppML <filters> element provides a way to define query and order by filters that can be changed by the user at run time.

The full syntax of this element is described in a later chapter.


The Header Element

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

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

Example:

<appml>

<database>
  <connection>music_db</connection>
  <sql>select title,artist,year from cd_catalog</sql>
</database>
<header>
  <h1>Product Sales for 1997</h1>
  <p>Compiled by John Johnson</p>
</header>
</appml>


The Footer Element

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

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


The HTMLReport Element

The AppML <htmlreport> element describes the elements of an HTML report. 

The full syntax of this element is described in a later chapter.


The XMLReport Element

The AppML <xmlreport> element describes the elements of an XML report.

The full syntax of this element is described in a later chapter.


The HTMLList Element

The AppML <htmllist> element describes the elements of an HTML List.

The full syntax of this element is described in a later chapter.


The HTMLEdit Element

The AppML <htmledit> element describes the elements of an HTML editable HTML List.

The full syntax of this element is described in a later chapter.


The HTMLForm Element

The AppML <htmlform> element describes the elements of an HTML input form.

The full syntax of this element is described in a later chapter.


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

IISCart
ASP Ecommerce & Shopping Cart


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