Sample code sharing for application fields in xml

黄舟
Release: 2017-03-29 15:58:02
Original
2181 people have browsed it

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!