Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2.  
  3. <vxml version="2.1">
  4.  
  5. <meta name="maintainer" content="YOUREMAILADDRESS@HERE.com"/>
  6.  
  7. <form id="DeadCelebrities">
  8.  
  9. <!-- to use SRGS Grammars, modify the grammar reference below to: -->
  10. <grammar src="Celeb.xml#CELEBRITY" type="application/grammar-xml"/>
  11.  
  12.  
  13. <initial name="myInit">
  14. <prompt>
  15. Welcome in insurance center. Please tell me your first name and surname.
  16. </prompt>
  17.  
  18. <nomatch count="1">
  19. I don't understand. Let`s try again. Please tell me your first name and surname.
  20. <assign name="myInit" expr="true"/>
  21. <reprompt/>
  22. </nomatch>
  23. </initial>
  24.  
  25. <field name="celebrity">
  26. <prompt>tell me your first name </prompt>
  27.  
  28. <!-- to use SRGS Grammars, modify the grammar reference below to: -->
  29. <grammar src="Celeb.xml#CELEB" type="application/grammar-xml"/>
  30.  
  31.  
  32. </field>
  33.  
  34. <field name="location">
  35. <prompt>tell me your surname.</prompt>
  36.  
  37. <!-- to use SRGS Grammars, modify the grammar reference below to: -->
  38. <grammar src="Celeb.xml#CELEBRITY" type="application/grammar-xml"/>
  39. </field>
  40.  
  41.  
  42. <filled mode="all">
  43. <prompt>
  44. Thank you for your report. your first name is <value expr="celebrity"/>
  45. your surname is <value expr="location"/>
  46. </prompt>
  47.  
  48. <block>
  49. <goto nexxtitem="#Form_1">
  50. </block>
  51. </filled>
  52.  
  53. <field name="location">
  54. <subdialog name="SubD_1" src="Subdialog_File.xml">
  55. <param name="question" expr="' For car crash, press one. someone die, press two.
  56. another accident, press three.'"/>
  57. </subdialog>
  58. </field>
  59. </form>
  60.  
  61. <form id="Form_1">
  62. <subdialog name="SubD_1" src="Subdialog_File.xml">
  63. <param name="question" expr="' For car crash, press one. someone die, press two.
  64. another accident, press three.'"/>
  65. </subdialog>
  66. </form>
  67.  
  68.  
  69. </vxml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement