Conversion of XML to VXML using XSLT

Invecectvew

New Member
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?Thank you in advance.XML file= "myProj.xml"\[code\]<?xml version="1.0" encoding="UTF-8" ?><?xml-stylesheet type="text/xsl" href="http://stackoverflow.com/questions/10705845/myProj_xsl.xsl"?><myProjtag><prompt> I am here</prompt><prompt> I am not here</prompt></myProjtag>\[/code\]XSLT file="myProj_xsl.xsl"\[code\]<?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>\[/code\]
 
Back
Top