Home >Backend Development >XML/RSS Tutorial >Sample code sharing for application fields in xml
XMLThe most realistic example is loading information.
-------------------------------------------------- ------------------------------------
Example: XML News
XML Journalism is a norm for exchanging news and other information.
Use such a specification to enable news producers and news consumers to produce, receive, and archive various news information changes across different hardware, software, and programming languages Easier and faster.
-------------------------------------------------- ------------------------------------
An example of an XML news document:
<?xml version="1.0" encoding="ISO-8859-1"?> <nitf> <head> <title>Colombia Earthquake</title> </head> <body> <body.head> <headline> <hl1>143 Dead in Colombia Earthquake</hl1> </headline> <byline> <bytag>By Jared Kotler, Associated Press Writer</bytag> </byline> <dateline> <location>Bogota, Colombia</location> <story.date>Monday January 25 1999 7:28 ET</story.date> </dateline> </body.head> </body> </nitf>
The above is the detailed content of Sample code sharing for application fields in xml. For more information, please follow other related articles on the PHP Chinese website!