This is neat work but basically you're still writing HTML with an embedded
Programming with SXML can remove this impedance mismatch.
The following code
implements essentially a Web service. The same (SXML) form is
converted either into an HTML form, or into a request language
sentence, which is later converted into an XML reply. Thus both the
user interface to solicit a request, and the fulfillment of the
request are SXML transformations, of the same form with different
stylesheets. The script above is fully operational, and can tell you
the weather at any interesting point in the globe:
script is meant to be used for demonstrational purposes only.