Originally posted by Satish Kota: can u please cite out what are the advantages of using XML compatible syntax in JSP and under what circumstances should i go for XML compatible one.
For hand-coded JSP pages there is no advatnage to using the XML document format -- in fact, you will find that there is so much ancillary markup necessary to keep the XML valid that the page becomes an incomprehensible morass.
The XML document format is meant for containers to use internally, or for pages generated from software where it may be easier to "write" a page by serializing a DOM.
Also, please bear in mind that JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.
I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.