[Source Code] Tìm hiểu XML qua ví dụ - C2109I



#vidu.xml


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE StudentList [
	<!ELEMENT student-list (student)>
	<!ELEMENT student (fullname, email, address)>
	<!ELEMENT fullname (#PCDATA)>
	<!ELEMENT email (#PCDATA)>
	<!ELEMENT address (#PCDATA)>
	<!ENTITY nbsp "-">
	<!ENTITY HN "Ha Noi">
]>

<root:student-list xmlns:root="https://gokisoft.com/root/libs.xml">
	<go:student xmlns:go="https://gokisoft.com/ns/libs.xml" xmlns:gix="https://gokisoft.com/gix/libs.xml">
		<go:fullname>Tran Van A</go:fullname>
		<gix:email><![CDATA[a@gmail.com > < sdlfh *7 34 <> sdf]]></gix:email>
		<go:address>&HN;</go:address>
	</go:student>
	<root:student xmlns:gix="https://gokisoft.com/gix/libs.xml" xmlns="https://gokisoft.com/default/libs.xml">
		<fullname>Tran Van B &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</fullname>
		<email>b@gmail.com</email>
		<gix:address>&HN;</gix:address>
	</root:student>
</root:student-list>


#vidu.html


<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Student Management</title>
</head>
<body>
<table border="1">
	<thead>
		<tr>
			<th>No</th>
			<th>Full Name</th>
			<th>Email</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>1</td>
			<td>Tran Van A</td>
			<td>a@gmail.com</td>
		</tr>
		<tr>
			<td>2</td>
			<td>Tran Van B</td>
			<td>a@gmail.com</td>
		</tr>
	</tbody>
</table>
</body>
</html>


#readme.txt


1) Tester
2) Developer
	- FE (Frontend)
		- HTML/CSS/JS + jQuery/Bootstrap
		- Angular/ReactJS -> OOP
	- BE (Backend)
		1) PHP/Laravel + MySQL/SQL Server -> SEM1
		2) .NET core (SEM3) - ASP MVC
		3) Java Web (SEM4) - Spring Boot + JPA (Hibernate) + Docker
	- PC App
		- C# Winform -> SEM3 + SQL
	- Mobile
		- Android
			-> Kotlin
		- iOS
			-> Swift
		- Android + iOS -> Dart/Flutter
		-> SEM4
=====================================================================
XML/JSON:
	- XML
	- JSON

=====================================================================
Lesson01:





Đã sao chép!!!
GokiSoft Uy Tín & Chất Lượng & Tận Tình
Hotline: 0967025996
GokiSoft Uy Tín & Chất Lượng & Tận Tình Chat FB với chúng tôi
GokiSoft Uy Tín & Chất Lượng & Tận Tình