- 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
2. Well, this fix worked form me using Apache 2.2.11,
View Tutorial By: Bruce at 2009-07-21 15:03:02
5. Who can send me the program and source to call thi
View Tutorial By: Michael Chon at 2008-10-04 21:03:30
6. how can we split 12+12 into three tokens like 12,+
View Tutorial By: arjun at 2012-11-26 11:07:24
7. It is very helpful, I searched in many websites, b
View Tutorial By: Anil Vaja at 2013-10-14 17:21:42
9. it worked fine in solving an algorithm assingment.
View Tutorial By: tunde bello at 2009-11-05 06:31:28
10. I'm a begner but i dont know the way to ask quisti
View Tutorial By: sajid kahn at 2013-05-23 19:15:26