Home > Backend Development > XML/RSS Tutorial > About how html embedded xml data island passes through the tree structure relationship

About how html embedded xml data island passes through the tree structure relationship

陈政宽~
Release: 2017-06-28 13:55:49
Original
3897 people have browsed it

html refers to the data island of xml, how to pass through the relationship of the tree structure, I don’t know how to use the tag name in xml in this datafld, how to add prefixes , how to get the name sub-element from resume

As shown in the following code details, the data island of xml is referenced in html, how to pass through the relationship of the tree structure? I don't know how to use the tags in xml in this datafld Name, how to add a prefix, how to get the name sub-element from resume? At the same time, how should I modify my html file? The data file of
xml is :
XML code:

Copy code The code is as follows:




mike
29


html file looks like this:
HTML code:

Copy code The code is as follows:















To avoid the above problem, there are two things that need to be modified:
1. datasrc=”# I missed the # number here
2. You must use span.
The following is the correct code after modification Details:
XML code:

Copy code The code is as follows:




mike
29


HTML code:

Copy code The code is as follows:



width="100%">
head>







font-style: blod">Name age

The above is the detailed content of About how html embedded xml data island passes through the tree structure relationship. 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