database into a database.XML is free and extensible.XML will be the most common tool for all data processing and data transfer.HTML is just a hypertext protocol.The HTML language is designed to display data, which focuses on the appearance of the data and is designed to display information;HTML has a lot of predefined
Markup Language abbreviation; XML (extensive Markup Language) Extensible Markup Language. XML is designed to transfer and store data, rather than display data, is a complement to HTML, the document and data can be structured so as to be able to exchange between departments, customers and suppliers to achieve dynamic c
HTML, XHTML, and XML1. Definition and Features:1) html:hyper Text Markup Language Hypertext Markup Language is the first language to write Web pages, but the coding is not standardized, mainly used to control the display and appearance of data. More loosely-structured, less rigorous web language;① simplicity: Super Text Markup language version upgrades are super-set, which makes them more flexible and easy
:
Copy Code code as follows:
On the main page
Parsing code in test.html
Copy Code code as follows:
$ ("#a3"). Click (function () {
$.get (' Test.xml ', function (data) {
var s= "";
$ (data). Find ("book"). each (function (i) {
var id=$ (this). attr (' id ');
var name=$ (this). Children (' name '). text ();
var author=$ (this). Children (' author '). text ();
var price=$ (this). Children (' price '). Text ();
s+=id+ "+name+" "+author+" "+price+" "});
$ (' #di
XSL is an extensible single-language XML style. XSL (short name: Extensible style single language, theeXtensibleStylesheetLanguage) is much more powerful than CSS style sheets. One of the main functions of XSL is to convert an XML document into an HTML file, and then deliver it to the browser. the browser displays the conversion result: XSL can be used to add
The combination of XML + XSL and HTML is the current content management system. The methods for presenting specific data to the client are mainly XML + XSL or Html. Take CSDN as an example. Currently, both methods exist. For example, in the forum, we use XML + XSL, and in th
markup is pre-defined and not extensible; The core of XML design is to contain and transmit data, and the core of HTML design is to display the data. Third, contactXML is a supplement to HTML, XML appears later than HTML, but
Xhtml|xml
Xhtml1. x must be HTML, and HTML is not necessarily XHTML1. X. Then if IE does not support XHTML, IE does not support HTML, it is not. Therefore, IE does not support XHTML I don't know what to do, but IE does not fully support CSS is true, but, but CSS is performance, performance and structure is irrelevant.
XML, HTML, XMLHTML
There are very few materials for learning XML and HTML, and I feel that I have not understood and absorbed them. When I learned HTML, I came into contact with some of its tags and attributes, I only know that it is used to
Currently, the Content Management System displays the specific data on the client in two ways: XML + XSL or HTML. Take csdn as an example. Currently, both methods exist. For example, in the forum, we use XML + XSL, and in the document center we use shtml.
Based on my experiences. XML + XSL has the advantages of sep
The current content management system, the way to show the client specific data is mainly: xml+xsl or Html two ways. In the case of CSDN, both of these approaches are present. For example: forum, we use the xml+xsl way, the document center we use is the shtml way.
According to my experience of use. The advantage of xml
A major feature of the xml| display of XML documents is that they can be converted to documents in multiple formats. For example, from a logical structure of XML to another logical structure of the XML conversion, or to the conversion of the
We know that jsp xml xslt can be directly output to browsers that support XML, such as IE 5.0 or later. However, we also need to consider that many Browsers Do not directly support XML. In this case, we need to convert to html output to the browser on the server. I am afraid this temporary transition method will be use
in Test.htmlCopy codeThe Code is as follows:$ ("# A3"). click (function (){$. Get ('test. xml', function (data ){Var s = "";$ (Data). find ('book'). each (function (I ){Var id = $ (this). attr ('id ');Var name = $ (this). children ('name'). text ();Var author = $ (this). children ('author'). text ();Var price = $ (this). children ('price'). text ();S + = id + "" + name + "" + author + "" + price + "});Certificate ('audio div2'audio .
htmlcode. After the For loop, when all chunks have been generated and stored in Htmlcode, script assigns the HTML volume label to the attribute innerHTML of the div element in the body volume label of the page (the element's ID is Displaydiv):
Displaydiv.innerhtml=htmlcode;
The DIV element then immediately generates an HTML program and displays its result, which is the picture previously seen.
To make sure
PHP uses the xmllint command to process xml and html, xmllintxml. PHP uses the xmllint command to process xml and html. xmllintxml this article describes how PHP uses the xmllint command to process xml and html. Share it with you
After reading "Xinxin Sun html" and "Liu Wei xml" for a period of time, here to learn the content with a mind map summary.Both HTML and XML are markup languages. same point:
An HTML document has a similar structure to an XML
Use XSL to add display information to an XML document.
--------------------------------------------------------------------------------
Using XSL to display XML documentsXSL is an extensible Style single language of XML.
XSL (full name: Extensible Style Single language, t
first, I was particularly depressed. Why is its name so similar to Java?
This is a typical marketing success. Its successful promotion is also based on Java. When Microsoft began to realize that Javascript was popular among Web developers, Microsoft established its own scripting language, JScript.
Javascript is a scripting language based on Object and Event-Driven with secure performance. It is used to link multiple objects on a Web page with HTML hy
HTML file
XML file
Difference:
1, the markup in the HTML is specific, each tag has a specific meaning, and the markup in the XML can be completely defined by the user.
2, HTML tags are mainly used to explain the way data displa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.