I am new to XML and its related languages. I am trying to do a project related to voiceXML. Where I need to convert XML document to VoiceXML document using XSLT. I tried to convert following XML file using xslt. But I am getting an output as: "I am here I am not here I am here I am not here " Can you please help me sort this out?
提前感谢您
XML 文件= "我的Proj.xml"
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="myProj_xsl.xsl"?>
<myProjtag>
<prompt>
I am here
</prompt>
<prompt>
I am not here
</prompt>
</myProjtag>
XSLT 文件="我的Proj_xsl.xsl"
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<vxml version="2.0" lang="en">
<form id="myProj">
<prompt>
<xsl:value-of select="."/>
</prompt>
<prompt>
<xsl:value-of select="."/>
</prompt>
</form>
</vxml>
</xsl:template>
</xsl:stylesheet>