<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”

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【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  %                  
    楼主该结一些帖子了