HTML 4.01 strict HTML
Visit Sourceforge.net

XML for <SCRIPT> is a simple, non-validating JavaScript XML parser that is designed to help web application designers implement cross platform, client-side manipulation of XML data. XML for <SCRIPT> provides both DOM and SAX XML processors as well as a number of other tools that help developers create powerful, web-based applications. XML for <SCRIPT> is licensed under the terms of the GNU Lesser General Public Licence (LGPL).

The ultimate goal of n-tier architecture is to separate the content of an application from its presentation. Unfortunately, most server-side technologies in use today do not make this goal easily attainable. It is not uncommon to see code such as the following in server-side scripts:

<input type="text" value="<%out.println(vrblName);%>">

XML for <SCRIPT> seeks to simplify web application development by providing developers the ability to send the data for their application in XML while the presentation is sent in HTML and style sheets. This XML can then be manipulated to initially populate any necessary form elements as well as store changes to the data. When finished with the manipulation of the data, the resulting XML string can then be sent back to the server. Since the data exchange is now 100% XML, the server can then process the new string with its own parser and take the appropriate actions.

The benefits of this architecture are many.

  • Server side code intermixed with HTML code can be reduced to almost nothing.
  • Client side code is simplified by having all form initialization in one place
  • Applications are now free to maintain their own data, reducing annoying round-trips to the server
  • Server side processing is simplified by having all relevant form data be submitted in XML

In effect, XML for <SCRIPT> allows n-tier client side application development to become a reality.

XML for <SCRIPT> is maintained by David Joham (djoham[at]yahoo[dot]com).

Version 2.1 adds

DOM TagPath searching
XML loading from any domain
XML Persistence via cookies
Contributed Add-ons
Safari Support
Opera 7 Support
OS X IE 5.2 Support
Change Log