Home > Article > Backend Development > About how html embedded xml data island passes through the tree structure relationship
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:
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:
HTML code:
Copy code The code is as follows:
font-style: blod">Name | age |
---|---|
span> |
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!