I have read a paper, X3DOM - A DOM-based HTML5/X3D Integration Model,which provids some examples.However i can't run these code. I have known how to use X3D with x3dom.js in browser, i want know if i can use x3d like below example.Like author said ,if i want to use these code, it is important to use the ".xhtml" suffix to instruct Firefox .I have done according to his requirement.
<?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">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
X3D DOM integration and manipulation
</title></head>
<body>
<h1>X3D DOM integration and manipulation</h1>
<x3d:x3d xmlns:x3d=
"http://www.web3d.org/specifications/x3d-3.0.xsd">
<x3d:Scene>
<x3d:Shape>
<x3d:Box x3d:size="4 4 4" />
</x3d:Shape>
</x3d:Scene>
</x3d:x3d>
</body>
</html>
And this is the paper.http://www.web3d.org/wiki/images/3/30/X3dom-web3d2009-paper.pdf