- Emiley J.
The first line is the XML declaration; it specifies the XML version and the XML file encoding. Notice that the line starts with . This combination of characters can cause a problem if you use this file as a PHP script. If you have the PHP setting short open tags enabled (the default), PHP sees the tag as the opening tag of a PHP section. If you work with XML in combination with PHP, change the short_open_tag setting in the php.ini file to Off.
XHTML is a W3C Recommendation that represents the future of HTML. Based on HTML 4.0, XHTML is designed to be compatible with existing web browsers while complying fully with XML. This means that a properly written XHTML document is always a well-formed XML document. Furthermore, XHTML documents must adhere to one or more of the XHTML DTDs, therefore XHTML pages can be validated using today's XML parsers such as Apache's Crimson.
Most Viewed Articles on xml
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. This example is very useful....Thanks for your sha
View Tutorial By: raji at 2015-05-22 07:19:07
3. It is very useful for me guyzz......thanx.......:-
View Tutorial By: Rajesh at 2012-09-29 10:11:45
4. hi this is very helpful........thank you very much
View Tutorial By: sumalatha at 2010-06-07 02:16:37
7. In the above example..where you make the GC1 objec
View Tutorial By: prasad at 2014-12-11 11:12:28
9. Hi mounika, Did you download and install the javac
View Tutorial By: Ramlak at 2008-04-27 05:49:42