home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _A217699B49084B9386D60CE96DF56EE1 < prev    next >
Encoding:
Extensible Markup Language  |  2003-02-12  |  16.7 KB  |  464 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://www.w3.org/2001/vxml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/vxml" elementFormDefault="qualified">
  3.     <xsd:annotation>
  4.         <xsd:documentation>VoiceXML 2.0 schema (20021115) </xsd:documentation>
  5.     </xsd:annotation>
  6.     <xsd:annotation>
  7.         <xsd:documentation>
  8. Copyright 1998-2002 W3C (MIT, INRIA, Keio), All Rights Reserved. Permission to
  9. use, copy, modify and distribute the VoiceXML schema and its accompanying
  10. documentation for any purpose and without fee is hereby granted in perpetuity,
  11. provided that the above copyright notice and this paragraph appear in all
  12. copies.  The copyright holders make no representation about the suitability of
  13. the schema for any purpose. It is provided "as is" without expressed or
  14. implied warranty.
  15. </xsd:documentation>
  16.     </xsd:annotation>
  17.     <xsd:annotation>
  18.         <xsd:documentation>Numeric references are to sections in VoiceXML 2.0.
  19.  [REFERENCE] refers to a reference in VoiceXML 2.0. </xsd:documentation>
  20.     </xsd:annotation>
  21.     <xsd:annotation>
  22.         <xsd:documentation>Importing dependent schemas including datatypes,
  23.     attributes and adapter schemas for SRGS 1.0  and SSML 1.0
  24.     </xsd:documentation>
  25.     </xsd:annotation>
  26.     <xsd:include schemaLocation="vxml-datatypes.xsd"/>
  27.     <xsd:include schemaLocation="vxml-attribs.xsd"/>
  28.     <xsd:include schemaLocation="vxml-grammar-extension.xsd"/>
  29.     <xsd:include schemaLocation="vxml-synthesis-extension.xsd"/>
  30.     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  31.     <xsd:annotation>
  32.         <xsd:documentation>Common Content Models</xsd:documentation>
  33.     </xsd:annotation>
  34.     <xsd:complexType name="basic.event.handler" mixed="true">
  35.         <xsd:choice minOccurs="0" maxOccurs="unbounded">
  36.             <xsd:group ref="executable.content"/>
  37.         </xsd:choice>
  38.         <xsd:attributeGroup ref="EventHandler.attribs"/>
  39.     </xsd:complexType>
  40.     <xsd:group name="audio">
  41.         <xsd:choice>
  42.             <xsd:element ref="enumerate"/>
  43.             <xsd:element ref="value"/>
  44.             <xsd:element ref="audio"/>
  45.         </xsd:choice>
  46.     </xsd:group>
  47.     <xsd:group name="input">
  48.         <xsd:annotation>
  49.             <xsd:documentation>input using adapted SRGS grammars</xsd:documentation>
  50.         </xsd:annotation>
  51.         <xsd:choice>
  52.             <xsd:element name="grammar" type="grammar"/>
  53.         </xsd:choice>
  54.     </xsd:group>
  55.     <xsd:group name="event.handler">
  56.         <xsd:choice>
  57.             <xsd:element ref="catch"/>
  58.             <xsd:element ref="help"/>
  59.             <xsd:element ref="noinput"/>
  60.             <xsd:element ref="nomatch"/>
  61.             <xsd:element ref="error"/>
  62.         </xsd:choice>
  63.     </xsd:group>
  64.     <xsd:group name="executable.content">
  65.         <xsd:choice>
  66.             <xsd:group ref="audio"/>
  67.             <xsd:element ref="assign"/>
  68.             <xsd:element ref="clear"/>
  69.             <xsd:element ref="disconnect"/>
  70.             <xsd:element ref="exit"/>
  71.             <xsd:element ref="goto"/>
  72.             <xsd:element ref="if"/>
  73.             <xsd:element ref="log"/>
  74.             <xsd:element ref="reprompt"/>
  75.             <xsd:element ref="return"/>
  76.             <xsd:element ref="script"/>
  77.             <xsd:element ref="submit"/>
  78.             <xsd:element ref="throw"/>
  79.             <xsd:element ref="var"/>
  80.             <xsd:element ref="prompt"/>
  81.         </xsd:choice>
  82.     </xsd:group>
  83.     <xsd:group name="variable">
  84.         <xsd:choice>
  85.             <xsd:element ref="block"/>
  86.             <xsd:element ref="field"/>
  87.             <xsd:element ref="var"/>
  88.         </xsd:choice>
  89.     </xsd:group>
  90.     <xsd:annotation>
  91.         <xsd:documentation>VoiceXML Elements</xsd:documentation>
  92.     </xsd:annotation>
  93.     <xsd:element name="assign">
  94.         <xsd:complexType>
  95.             <xsd:attribute name="name" type="VariableName.datatype" use="required"/>
  96.             <xsd:attribute name="expr" type="Script.datatype" use="required"/>
  97.         </xsd:complexType>
  98.     </xsd:element>
  99.     <xsd:element name="block">
  100.         <xsd:complexType mixed="true">
  101.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  102.                 <xsd:group ref="executable.content"/>
  103.             </xsd:choice>
  104.             <xsd:attributeGroup ref="Form-item.attribs"/>
  105.         </xsd:complexType>
  106.     </xsd:element>
  107.     <xsd:element name="catch">
  108.         <xsd:complexType mixed="true">
  109.             <xsd:complexContent mixed="true">
  110.                 <xsd:extension base="basic.event.handler">
  111.                     <xsd:attribute name="event" type="EventNames.datatype"/>
  112.                 </xsd:extension>
  113.             </xsd:complexContent>
  114.         </xsd:complexType>
  115.     </xsd:element>
  116.     <xsd:element name="choice">
  117.         <xsd:complexType mixed="true">
  118.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  119.                 <xsd:group ref="input"/>
  120.             </xsd:choice>
  121.             <xsd:attributeGroup ref="Cache.attribs"/>
  122.             <xsd:attributeGroup ref="Accept.attrib"/>
  123.             <xsd:attributeGroup ref="Throw.attribs"/>
  124.             <xsd:attribute name="dtmf" type="DTMFSequence.datatype"/>
  125.             <xsd:attribute name="fetchaudio" type="URI.datatype"/>
  126.             <xsd:attributeGroup ref="Next.attribs"/>
  127.         </xsd:complexType>
  128.     </xsd:element>
  129.     <xsd:element name="clear">
  130.         <xsd:complexType>
  131.             <xsd:attributeGroup ref="Namelist.attrib"/>
  132.         </xsd:complexType>
  133.     </xsd:element>
  134.     <xsd:element name="disconnect">
  135.         <xsd:complexType/>
  136.     </xsd:element>
  137.     <xsd:element name="else">
  138.         <xsd:complexType/>
  139.     </xsd:element>
  140.     <xsd:element name="elseif">
  141.         <xsd:complexType>
  142.             <xsd:attributeGroup ref="If.attribs"/>
  143.         </xsd:complexType>
  144.     </xsd:element>
  145.     <xsd:element name="enumerate" substitutionGroup="aws">
  146.         <xsd:annotation>
  147.             <xsd:documentation>enumerate element is 'allowed-within-sentence' in SSML</xsd:documentation>
  148.         </xsd:annotation>
  149.         <xsd:complexType mixed="true">
  150.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  151.                 <xsd:group ref="allowed-within-sentence"/>
  152.                 <xsd:group ref="structure"/>
  153.             </xsd:choice>
  154.         </xsd:complexType>
  155.     </xsd:element>
  156.     <xsd:element name="error" type="basic.event.handler"/>
  157.     <xsd:element name="exit">
  158.         <xsd:complexType>
  159.             <xsd:attribute name="expr" type="Script.datatype"/>
  160.             <xsd:attributeGroup ref="Namelist.attrib"/>
  161.         </xsd:complexType>
  162.     </xsd:element>
  163.     <xsd:element name="field">
  164.         <xsd:complexType mixed="true">
  165.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  166.                 <xsd:group ref="audio"/>
  167.                 <xsd:group ref="event.handler"/>
  168.                 <xsd:element ref="filled"/>
  169.                 <xsd:element ref="link"/>
  170.                 <xsd:element ref="option"/>
  171.                 <xsd:element ref="property"/>
  172.                 <xsd:group ref="input"/>
  173.                 <xsd:element ref="prompt"/>
  174.             </xsd:choice>
  175.             <xsd:attributeGroup ref="Form-item.attribs"/>
  176.             <xsd:attribute name="type" type="xsd:string"/>
  177.             <xsd:attribute name="slot" type="xsd:NMTOKEN"/>
  178.             <xsd:attribute name="modal" type="Boolean.datatype" default="false"/>
  179.         </xsd:complexType>
  180.     </xsd:element>
  181.     <xsd:element name="filled">
  182.         <xsd:complexType mixed="true">
  183.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  184.                 <xsd:group ref="executable.content"/>
  185.             </xsd:choice>
  186.             <xsd:attribute name="mode" type="FilledMode.datatype"/>
  187.             <xsd:attributeGroup ref="RestrictedNamelist.attrib"/>
  188.         </xsd:complexType>
  189.     </xsd:element>
  190.     <xsd:element name="form">
  191.         <xsd:complexType>
  192.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  193.                 <xsd:group ref="event.handler"/>
  194.                 <xsd:element ref="filled"/>
  195.                 <xsd:element ref="initial"/>
  196.                 <xsd:element ref="object"/>
  197.                 <xsd:element ref="link"/>
  198.                 <xsd:element ref="property"/>
  199.                 <xsd:element ref="record"/>
  200.                 <xsd:element ref="script"/>
  201.                 <xsd:element ref="subdialog"/>
  202.                 <xsd:element ref="transfer"/>
  203.                 <xsd:group ref="variable"/>
  204.                 <xsd:group ref="input"/>
  205.             </xsd:choice>
  206.             <xsd:attribute name="id" type="xsd:ID"/>
  207.             <xsd:attributeGroup ref="GrammarScope.attrib"/>
  208.         </xsd:complexType>
  209.     </xsd:element>
  210.     <xsd:element name="goto">
  211.         <xsd:complexType>
  212.             <xsd:attributeGroup ref="Cache.attribs"/>
  213.             <xsd:attributeGroup ref="Next.attribs"/>
  214.             <xsd:attribute name="fetchaudio" type="URI.datatype"/>
  215.             <xsd:attribute name="expritem" type="Script.datatype"/>
  216.             <xsd:attribute name="nextitem" type="RestrictedVariableName.datatype"/>
  217.         </xsd:complexType>
  218.     </xsd:element>
  219.     <xsd:element name="help" type="basic.event.handler"/>
  220.     <xsd:element name="if">
  221.         <xsd:complexType mixed="true">
  222.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  223.                 <xsd:group ref="executable.content"/>
  224.                 <xsd:element ref="elseif"/>
  225.                 <xsd:element ref="else"/>
  226.             </xsd:choice>
  227.             <xsd:attributeGroup ref="If.attribs"/>
  228.         </xsd:complexType>
  229.     </xsd:element>
  230.     <xsd:element name="initial">
  231.         <xsd:complexType mixed="true">
  232.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  233.                 <xsd:group ref="audio"/>
  234.                 <xsd:group ref="event.handler"/>
  235.                 <xsd:element ref="link"/>
  236.                 <xsd:element ref="property"/>
  237.                 <xsd:element ref="prompt"/>
  238.             </xsd:choice>
  239.             <xsd:attributeGroup ref="Form-item.attribs"/>
  240.         </xsd:complexType>
  241.     </xsd:element>
  242.     <xsd:element name="link">
  243.         <xsd:complexType>
  244.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  245.                 <xsd:group ref="input"/>
  246.             </xsd:choice>
  247.             <xsd:attributeGroup ref="Cache.attribs"/>
  248.             <xsd:attributeGroup ref="Next.attribs"/>
  249.             <xsd:attributeGroup ref="Throw.attribs"/>
  250.             <xsd:attribute name="fetchaudio" type="URI.datatype"/>
  251.             <xsd:attribute name="dtmf" type="DTMFSequence.datatype"/>
  252.         </xsd:complexType>
  253.     </xsd:element>
  254.     <xsd:element name="log">
  255.         <xsd:complexType mixed="true">
  256.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  257.                 <xsd:element ref="value"/>
  258.             </xsd:choice>
  259.             <xsd:attribute name="label" type="xsd:string"/>
  260.             <xsd:attribute name="expr" type="Script.datatype"/>
  261.         </xsd:complexType>
  262.     </xsd:element>
  263.     <xsd:element name="menu">
  264.         <xsd:complexType mixed="true">
  265.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  266.                 <xsd:group ref="audio"/>
  267.                 <xsd:element ref="choice"/>
  268.                 <xsd:group ref="event.handler"/>
  269.                 <xsd:element ref="property"/>
  270.                 <xsd:element ref="prompt"/>
  271.             </xsd:choice>
  272.             <xsd:attribute name="id" type="xsd:ID"/>
  273.             <xsd:attributeGroup ref="GrammarScope.attrib"/>
  274.             <xsd:attributeGroup ref="Accept.attrib"/>
  275.             <xsd:attribute name="dtmf" type="Boolean.datatype" default="false"/>
  276.         </xsd:complexType>
  277.     </xsd:element>
  278.     <xsd:element name="meta">
  279.         <xsd:complexType>
  280.             <xsd:attribute name="name" type="xsd:NMTOKEN"/>
  281.             <xsd:attribute name="content" type="xsd:string" use="required"/>
  282.             <xsd:attribute name="http-equiv" type="xsd:NMTOKEN"/>
  283.         </xsd:complexType>
  284.     </xsd:element>
  285.     <xsd:element name="metadata">
  286.         <xsd:complexType>
  287.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  288.                 <xsd:any namespace="##other" processContents="lax"/>
  289.             </xsd:choice>
  290.             <xsd:anyAttribute namespace="##any" processContents="strict"/>
  291.         </xsd:complexType>
  292.     </xsd:element>
  293.     <xsd:element name="noinput" type="basic.event.handler"/>
  294.     <xsd:element name="nomatch" type="basic.event.handler"/>
  295.     <xsd:element name="object">
  296.         <xsd:complexType mixed="true">
  297.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  298.                 <xsd:group ref="audio"/>
  299.                 <xsd:group ref="event.handler"/>
  300.                 <xsd:element ref="filled"/>
  301.                 <xsd:element ref="param"/>
  302.                 <xsd:element ref="property"/>
  303.                 <xsd:element ref="prompt"/>
  304.             </xsd:choice>
  305.             <xsd:attributeGroup ref="Form-item.attribs"/>
  306.             <xsd:attributeGroup ref="Cache.attribs"/>
  307.             <xsd:attribute name="classid" type="URI.datatype"/>
  308.             <xsd:attribute name="codebase" type="URI.datatype"/>
  309.             <xsd:attribute name="data" type="URI.datatype"/>
  310.             <xsd:attribute name="type" type="xsd:string"/>
  311.             <xsd:attribute name="codetype" type="xsd:string"/>
  312.             <xsd:attribute name="archive" type="URI.datatype"/>
  313.         </xsd:complexType>
  314.     </xsd:element>
  315.     <xsd:element name="output" abstract="true"/>
  316.     <xsd:element name="option">
  317.         <xsd:complexType mixed="true">
  318.             <xsd:attributeGroup ref="Accept.attrib"/>
  319.             <xsd:attribute name="dtmf" type="DTMFSequence.datatype"/>
  320.             <xsd:attribute name="value" type="xsd:string"/>
  321.         </xsd:complexType>
  322.     </xsd:element>
  323.     <xsd:element name="prompt" type="speak">
  324.         <xsd:annotation>
  325.             <xsd:documentation>prompt element uses SSML speak type</xsd:documentation>
  326.         </xsd:annotation>
  327.     </xsd:element>
  328.     <xsd:element name="param">
  329.         <xsd:complexType>
  330.             <xsd:attribute name="name" type="xsd:NMTOKEN" use="required"/>
  331.             <xsd:attribute name="expr" type="Script.datatype"/>
  332.             <xsd:attribute name="value" type="xsd:string"/>
  333.             <xsd:attribute name="valuetype" type="Valuetype.datatype" default="data"/>
  334.             <xsd:attribute name="type" type="xsd:string"/>
  335.         </xsd:complexType>
  336.     </xsd:element>
  337.     <xsd:element name="property">
  338.         <xsd:complexType>
  339.             <xsd:attribute name="name" type="xsd:NMTOKEN" use="required"/>
  340.             <xsd:attribute name="value" type="xsd:string" use="required"/>
  341.         </xsd:complexType>
  342.     </xsd:element>
  343.     <xsd:element name="record">
  344.         <xsd:complexType mixed="true">
  345.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  346.                 <xsd:group ref="audio"/>
  347.                 <xsd:group ref="event.handler"/>
  348.                 <xsd:element ref="filled"/>
  349.                 <xsd:element ref="property"/>
  350.                 <xsd:group ref="input"/>
  351.                 <xsd:element ref="prompt"/>
  352.             </xsd:choice>
  353.             <xsd:attributeGroup ref="Form-item.attribs"/>
  354.             <xsd:attribute name="type" type="ContentType.datatype"/>
  355.             <xsd:attribute name="beep" type="Boolean.datatype" default="false"/>
  356.             <xsd:attribute name="maxtime" type="Duration.datatype"/>
  357.             <xsd:attribute name="modal" type="Boolean.datatype" default="true"/>
  358.             <xsd:attribute name="finalsilence" type="Duration.datatype"/>
  359.             <xsd:attribute name="dtmfterm" type="Boolean.datatype" default="true"/>
  360.         </xsd:complexType>
  361.     </xsd:element>
  362.     <xsd:element name="reprompt">
  363.         <xsd:complexType/>
  364.     </xsd:element>
  365.     <xsd:element name="return">
  366.         <xsd:complexType>
  367.             <xsd:attributeGroup ref="Namelist.attrib"/>
  368.             <xsd:attributeGroup ref="Throw.attribs"/>
  369.         </xsd:complexType>
  370.     </xsd:element>
  371.     <xsd:element name="script">
  372.         <xsd:complexType mixed="true">
  373.             <xsd:attribute name="src" type="URI.datatype"/>
  374.             <xsd:attribute name="charset" type="xsd:string"/>
  375.             <xsd:attributeGroup ref="Cache.attribs"/>
  376.         </xsd:complexType>
  377.     </xsd:element>
  378.     <xsd:element name="subdialog">
  379.         <xsd:complexType mixed="true">
  380.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  381.                 <xsd:group ref="audio"/>
  382.                 <xsd:group ref="event.handler"/>
  383.                 <xsd:element ref="filled"/>
  384.                 <xsd:element ref="param"/>
  385.                 <xsd:element ref="property"/>
  386.                 <xsd:element ref="prompt"/>
  387.             </xsd:choice>
  388.             <xsd:attributeGroup ref="Form-item.attribs"/>
  389.             <xsd:attribute name="src" type="URI.datatype"/>
  390.             <xsd:attribute name="srcexpr" type="Script.datatype"/>
  391.             <xsd:attributeGroup ref="Cache.attribs"/>
  392.             <xsd:attribute name="fetchaudio" type="URI.datatype"/>
  393.             <xsd:attributeGroup ref="Submit.attribs"/>
  394.         </xsd:complexType>
  395.     </xsd:element>
  396.     <xsd:element name="submit">
  397.         <xsd:complexType>
  398.             <xsd:attributeGroup ref="Cache.attribs"/>
  399.             <xsd:attributeGroup ref="Next.attribs"/>
  400.             <xsd:attribute name="fetchaudio" type="URI.datatype"/>
  401.             <xsd:attributeGroup ref="Submit.attribs"/>
  402.         </xsd:complexType>
  403.     </xsd:element>
  404.     <xsd:element name="throw">
  405.         <xsd:complexType>
  406.             <xsd:attributeGroup ref="Throw.attribs"/>
  407.         </xsd:complexType>
  408.     </xsd:element>
  409.     <xsd:element name="transfer">
  410.         <xsd:complexType mixed="true">
  411.             <xsd:choice minOccurs="0" maxOccurs="unbounded">
  412.                 <xsd:group ref="audio"/>
  413.                 <xsd:group ref="event.handler"/>
  414.                 <xsd:element ref="filled"/>
  415.                 <xsd:element ref="property"/>
  416.                 <xsd:group ref="input"/>
  417.                 <xsd:element ref="prompt"/>
  418.             </xsd:choice>
  419.             <xsd:attributeGroup ref="Form-item.attribs"/>
  420.             <xsd:attribute name="dest" type="URI.datatype"/>
  421.             <xsd:attribute name="destexpr" type="Script.datatype"/>
  422.             <xsd:attribute name="bridge" type="Boolean.datatype" default="false"/>
  423.             <xsd:attribute name="connecttimeout" type="Duration.datatype"/>
  424.             <xsd:attribute name="maxtime" type="Duration.datatype"/>
  425.             <xsd:attribute name="transferaudio" type="URI.datatype"/>
  426.             <xsd:attribute name="aai" type="xsd:string"/>
  427.             <xsd:attribute name="aaiexpr" type="Script.datatype"/>
  428.         </xsd:complexType>
  429.     </xsd:element>
  430.     <xsd:element name="value" substitutionGroup="aws">
  431.         <xsd:annotation>
  432.             <xsd:documentation>value element is 'allowed-within-sentence' in SSML</xsd:documentation>
  433.         </xsd:annotation>
  434.         <xsd:complexType>
  435.             <xsd:attribute name="expr" type="Script.datatype" use="required"/>
  436.         </xsd:complexType>
  437.     </xsd:element>
  438.     <xsd:element name="var">
  439.         <xsd:complexType>
  440.             <xsd:attribute name="name" type="RestrictedVariableName.datatype" use="required"/>
  441.             <xsd:attributeGroup ref="Expr.attrib"/>
  442.         </xsd:complexType>
  443.     </xsd:element>
  444.     <xsd:element name="vxml">
  445.         <xsd:complexType>
  446.             <xsd:choice maxOccurs="unbounded">
  447.                 <xsd:group ref="event.handler"/>
  448.                 <xsd:element ref="form"/>
  449.                 <xsd:element ref="link"/>
  450.                 <xsd:element ref="menu"/>
  451.                 <xsd:element ref="meta"/>
  452.                 <xsd:element ref="metadata"/>
  453.                 <xsd:element ref="property"/>
  454.                 <xsd:element ref="script"/>
  455.                 <xsd:element ref="var"/>
  456.             </xsd:choice>
  457.             <xsd:attribute name="application" type="URI.datatype"/>
  458.             <xsd:attribute ref="xml:base"/>
  459.             <xsd:attribute ref="xml:lang"/>
  460.             <xsd:attribute name="version" type="xsd:string" use="required"/>
  461.         </xsd:complexType>
  462.     </xsd:element>
  463. </xsd:schema>
  464.