<html xmlns= "http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/01/xforms"
xmlns:my="http://www.example.com/my-data">
<head>
<!--The Model is defined within the head of the xhtml document-->
<xforms:model> <!--The instance is defined within the model-->
<xforms:instance>
<my:data>Hello World</my:data>
</xforms:instance>
</xforms:model>
</head>
<body> <!--The view is defined within the body of the document-->
<xforms:group>
<xforms:output ref="/my:data">
<xforms:label>Output Control Example</xforms:label>
</xforms:output>
</xforms:group>
</body>
</html>
为什么我输出的结果是“Output Control Example”,“Hello World”为什么没有显示出来??去掉所有的命名空间后,显示的结果又是“Hello World output the info: ”为什么不是“output the info:Hello World”
xmlns:xforms="http://www.w3.org/2002/01/xforms"
xmlns:my="http://www.example.com/my-data">
<head>
<!--The Model is defined within the head of the xhtml document-->
<xforms:model> <!--The instance is defined within the model-->
<xforms:instance>
<my:data>Hello World</my:data>
</xforms:instance>
</xforms:model>
</head>
<body> <!--The view is defined within the body of the document-->
<xforms:group>
<xforms:output ref="/my:data">
<xforms:label>Output Control Example</xforms:label>
</xforms:output>
</xforms:group>
</body>
</html>
为什么我输出的结果是“Output Control Example”,“Hello World”为什么没有显示出来??去掉所有的命名空间后,显示的结果又是“Hello World output the info: ”为什么不是“output the info:Hello World”
解决方案 »
- 求助 图片删除
- 把电脑上的项目 拷贝到服务器上运行,有些地方出现乱码,估计是哪里的编码忘记修改了,求教~
- 请问一个button按钮到action的问题!!!
- 如何实现 JavaScript 页面数据类型校验 如只允许在文本框的输入 int float 类型数据 抱歉只剩10分的, 分以后补
- JS乱码问题
- 关于用java实现web下的语音聊天
- 一个记录集取值的问题,急啊!
- 使用jspsmartupload遇到的奇怪问题!
- Error 500--Internal Server Error(为什么?)
- 怎么在asp页面实现分页打印?或者用java applet ? Thank you!
- 新手请大家推荐一本书
- JavaBean连接sql2000的问题
楼主【mgp1030】截止到2008-07-25 21:14:19的历史汇总数据(不包括此帖):
发帖的总数量:14 发帖的总分数:250 每贴平均分数:17
回帖的总数量:8 得分贴总数量:2 回帖的得分率:25%
结贴的总数量:5 结贴的总分数:50
无满意结贴数:0 无满意结贴分:0
未结的帖子数:9 未结的总分数:200
结贴的百分比:35.71 % 结分的百分比:20.00 %
无满意结贴率:0.00 % 无满意结分率:0.00 %
楼主该结一些帖子了