- 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
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. Good Example ...For Both FIleWriter and FileReader
View Tutorial By: karthikeyan.v at 2009-11-17 02:27:42
4. I want to know more about Java Garbage collection,
View Tutorial By: Prosenjit Kundu at 2010-05-08 09:42:40
7. i can't get getword function.Where is that written
View Tutorial By: withu at 2010-01-26 23:25:12
8. Have you tried checking for the latest office/exce
View Tutorial By: Pat at 2010-01-07 04:54:31
9. does this code work with netbeans. if not can anyo
View Tutorial By: Alton at 2010-04-02 22:36:57