netDon.com - the enlightenment of wed Design. be enlightened
Web Design
Price Quotes
Web Hosting
Free Wallpaper
DHTML Tips
HTML Tips
JavaSrcipts
About Us
F.A.Q.
Contact Us
Home Page
Free Price Quote!
Check Your
E-mail

 More About DHTML
     XMLC Development
     Compiling HTML
     XMLC Generated

African Beauty
For the Ladies
Fast Cars
Beautiful Women
SiFi & Comics
Beyonce

 

 
Dynamically generating HTML pages with XMLC

Using XMLC Generated Objects

Generated XMLC Objects are manipulated using the DOM API as well as element access methods generated by XMLC. Dynamic data is set in the DOM object tree and finally an HTML page is generated from that tree:


On execution of the run() method this will send back a page saying something like: Hi there, the local time is Sun Nov 5 14:25:00 CET 2000.

Name and Class Constants

String constants will be generated for each element name and class name. The use of string constants when calling DOM routines to locate elements ensures that a valid element is specified.

These constants are used when accessing the DOM, for example:

Conclusion

XMLC is an interesting case of moving a well-known concept from one domain to another, in this case from browsers to servers.

The described method works for all XML document types, including Wireless Markup Language (WML). Using this approach makes it easy to serve different clients the same kind of dynamic content by simply replacing the HTML resources with WML pages. Why not give it a try on your Java-enabled Web Server?

More About DHTML
XMLC Development
Compiling HTML
XMLC Generated

 More About DHTML
     XMLC Development
     Compiling HTML
     XMLC Generated

SPONSORS

African Books

Free Price Quote!

Browse Subjects



Home Page
 
Check Your
E-mail
About Us Price Quote Contact Us
Copyright 2005 netDon
info@netDon.com