
Appendix – Miscellaneous
Topics
XML AND JAVASCRIPT
XML and JavaScript are not really related. XML represents data, whereas JavaScript relates to validating
user inputs. However, a recent trend is to sometimes send XML (instead of HTML) to the end user. In such
situations, JavaScript needs to deal with XML as well. Till this trend began, parsing of XML was limited to
server-side code only.
Another related development is also that Ajax has become a very popular technique for working with
XML data on the client side. Consequently, the client-side JavaScript code has also become important.
In reality, working with XML using JavaScript is no different ...