本站全部文档使用maven的xdoc来生成html,xdoc的语法很简单,下面介绍一些常用的语法。
基本结构
<?xml version="1.0" encoding="gb2312"?>
<document>
<properties>
<title>标题</title>
<author email="bizwu@msn.com">Biz</author>
</properties>
<body>
<section name="标题">
<p>
内容
</p>
</section>
</body>
</document>
< source ><![ CDATA [ 代码 ] ]>< / source >
换行 <br/> 链接 <a href="http://">GO!</a> 图片 <img src="图片地址"/>
<?xml version="1.0" encoding="gb2312"?>
<project name="Turbine"
href="http://jakarta.apache.org/turbine/">
<title>∷∷PHP,JAVA,JSP,C#∷∷</title>
<body>
<links>
<item name="首页" href="/index.html"/>
<item name="JAVA" href="/java/index.html"/>
<item name="PHP" href="/php/index.html"/>
<item name="业界新闻" href="/news/index.html"/>
<item name="曙光论坛" href="#"/>
<item name="关于我们" href="/aboutus.html"/>
</links>
<menu name="网站公告">
<item name="* Maven构建网站" href="news.html"/>
<item name="* 网站重新开通" href="news.html"/>
<item name="* 本站使用新域名" href="news.html"/>
</menu>
<menu name="友情链接">
<item name="家电维修网" href="http://www.163dz.com/"/>
<item name="JSP应用开发框架" href="demo.html"/>
<item name="PHP应用开发框架" href="demo.html"/>
<item name="深圳安源电子" href="http://www.top59.com/"/>
<item name="JAVA SUN" href="http://java.sun.com/"/>
<item name="IC采购网" href="http://ic.163dz.com/"/>
</menu>
<search/>
<footer>
Apache Software Foundation
</footer>
</body>
</project>