I am experimenting with the XML syntax alternative in JSPs.
Originally posted by Sushma Sharma:
I think you should use "<" in place of "<" in the for loop.... "<" is the way comparison is done in XML....
I wonder what an auto-generator would do?
Originally posted by Bear Bibeault:
It would create full-compliant XML. That means using CDATA sequences and entities where appropriate.
Which is why I see no advantage to the XML syntax for hand-coded pages. Once you've added all the necessary markup to keep the page legal, it's an unreadable (at least by humans) mass of markup goo that obfuscates the actual content of the page.
YMMV.
But I can still be curious