最近读了一篇关于X3DOM的文章,里面有一段代码是关于如何使用X3D的,代码内容很简单,但是我不知道为什么运行不了?
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
X3D DOM integration and manipulation
X3D DOM integration and manipulation
"http://www.web3d.org/specifications/x3d-3.0.xsd">
x3d:Scene
x3d:Shape
/x3d:Shape
/x3d:Scene
/x3d:x3d
按照作者的要求,应该以.xhtml作为后缀保存。
论文原文:http://www.web3d.org/wiki/images/3/30/X3dom-web3d2009-paper.pdf