所要输入的xml的文件为:
<input>
<DER_command starting_time="0">
<mood_layer>
<tension_level>
<emotion_name>happiness</emotion_name>
<attack_duration>0</attack_duration>
<sustain_duration>0</sustain_duration>
<decay_duration>3000</decay_duration>
<peak_intensity>65</peak_intensity>
</tension_level>
<energy_level>65</energy_level>
</mood_layer>
</DER_command>
<text>
<simplified_emotional_stimulus emo_name="happiness" intensity="40" />
</text>
<silence duration="0.5" />
<text>
<decla_signal comm_func_name="personal reaction" intensity="50" added_time="1">
Welcome to the Elzware Chatterbot. Yhaken is the name & yacking the
game.<p>What can I help you with today ?
</decla_signal>
</text>
</input> 其中
<emotion_name>happiness</emotion_name>
<attack_duration>0</attack_duration>
<sustain_duration>0</sustain_duration>
<decay_duration>3000</decay_duration>
<peak_intensity>65</peak_intensity>
<decla_signal comm_func_name="personal reaction" intensity="50" added_time="1">
Welcome to the Elzware Chatterbot. Yhaken is the name & yacking the
game.<p>What can I help you with today ?
</decla_signal> 这些标签中的值是可以根据传入的一组变量生成的
<input>
<DER_command starting_time="0">
<mood_layer>
<tension_level>
<emotion_name>happiness</emotion_name>
<attack_duration>0</attack_duration>
<sustain_duration>0</sustain_duration>
<decay_duration>3000</decay_duration>
<peak_intensity>65</peak_intensity>
</tension_level>
<energy_level>65</energy_level>
</mood_layer>
</DER_command>
<text>
<simplified_emotional_stimulus emo_name="happiness" intensity="40" />
</text>
<silence duration="0.5" />
<text>
<decla_signal comm_func_name="personal reaction" intensity="50" added_time="1">
Welcome to the Elzware Chatterbot. Yhaken is the name & yacking the
game.<p>What can I help you with today ?
</decla_signal>
</text>
</input> 其中
<emotion_name>happiness</emotion_name>
<attack_duration>0</attack_duration>
<sustain_duration>0</sustain_duration>
<decay_duration>3000</decay_duration>
<peak_intensity>65</peak_intensity>
<decla_signal comm_func_name="personal reaction" intensity="50" added_time="1">
Welcome to the Elzware Chatterbot. Yhaken is the name & yacking the
game.<p>What can I help you with today ?
</decla_signal> 这些标签中的值是可以根据传入的一组变量生成的
解决方案 »
- asp.net做一个程序设计修改excel模板,并将之存入数据库通过treeview可调用。
- 微妙的问题,赶集进了!
- 没有分了:JS如何设置DropDownList列表中某项为当前选中的的项
- ★★★怎样在程序控制gridview每列的宽度?★★★
- 小妹刚起步,那位大侠有空,指点一二,不胜感激~~
- 跪求存储过程结合aspnetpager控件分页
- DataGrid里面的服务器控件不知道怎样添加事件函数
- 请问Textbox数据绑定的一个问题
- 请问ASP.NET Web API到底有啥用?
- 请问怎么样才能读取到客户端的值?
- 刚刚学习asp.net,问个菜鸟问题!
- 我怎样把存到数据库中的图片读到label中,在线等
再詳細些:比如你說的變量指的是何變量,變量來源?數據庫或者其它 XML?
这些值是变化的,至于这些值来自哪儿你不必关心
只要把上面那个xml写出来就行了
我要把上述 XML 轉換成 HTML ,xslt 該怎么寫
不就得了