home.xml

来自「基于java的xsl与xml程序例子」· XML 代码 · 共 28 行

XML
28
字号
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" 
  href="../xslt/templatePage.xslt"?>
<html>
	<head>
		<title>Home Page</title>
		<meta name="navigationCategory" content="home"/>
	</head>
	<body>
		<h1>Welcome to the Home Page!</h1>
		<div>
			This is a normal XHTML page that authors 
			create. The guidelines are as follows:
			<ul>
				<li>Each page must be valid XHTML</li>
				<li>Each page must have a meta tag that 
				    indicates the navigation category.</li>
				<li>The templatePage.xslt stylesheet will add 
				    the top and side navigation bars.</li>
			</ul>
			Pages are published to the WEB-INF/xml directory 
			of a web app. This forces clients to access pages
			through a Servlet, because the Servlet container
			prevents direct access to anything under WEB-INF.
		</div>
	</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?