vxml-attribs.xsd
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:9k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://www.w3.org/2001/vxml"
  3.     xmlns="http://www.w3.org/2001/vxml"
  4.     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5.     elementFormDefault="qualified" version="1.0">
  6.     <xsd:annotation>
  7.         <xsd:documentation>VoiceXML 2.0 attributes (20021115)</xsd:documentation>
  8.     </xsd:annotation>
  9.     <xsd:annotation> <xsd:documentation> 
  10. Copyright 1998-2004 W3C (MIT, ERCIM, Keio), All Rights Reserved. Permission to
  11. use, copy, modify and distribute the VoiceXML schema and its accompanying
  12. documentation for any purpose and without fee is hereby granted in perpetuity,
  13. provided that the above copyright notice and this paragraph appear in all
  14. copies.  The copyright holders make no representation about the suitability of
  15. the schema for any purpose. It is provided "as is" without expressed or
  16. implied warranty.
  17. </xsd:documentation>
  18. </xsd:annotation>
  19.     <xsd:include schemaLocation="vxml-datatypes.xsd"/>    
  20.     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" 
  21.                 schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  22.     <xsd:annotation>
  23.         <xsd:documentation>XML Schema attributes module for VoiceXML 2.0</xsd:documentation>
  24.     </xsd:annotation>
  25.     <xsd:annotation>
  26.         <xsd:documentation>General attributes</xsd:documentation>
  27.     </xsd:annotation>
  28.     <xsd:attributeGroup name="Fetchhint.attrib">
  29.         <xsd:annotation>
  30.             <xsd:documentation>Used in Cache.attribs </xsd:documentation>
  31.         </xsd:annotation>
  32.         <xsd:attribute name="fetchhint" type="Fetchhint.datatype"/>
  33.     </xsd:attributeGroup>
  34.     <xsd:attributeGroup name="Fetchtimeout.attrib">
  35.         <xsd:annotation>
  36.             <xsd:documentation>Used in Cache.attribs</xsd:documentation>
  37.         </xsd:annotation>
  38.         <xsd:attribute name="fetchtimeout" type="Duration.datatype"/>
  39.     </xsd:attributeGroup>
  40.     <xsd:attributeGroup name="Maxage.attrib">
  41.         <xsd:annotation>
  42.             <xsd:documentation>Used in Cache.attribs</xsd:documentation>
  43.         </xsd:annotation>
  44.         <xsd:attribute name="maxage" type="Integer.datatype"/>
  45.     </xsd:attributeGroup>
  46.     <xsd:attributeGroup name="Maxstale.attrib">
  47.         <xsd:annotation>
  48.             <xsd:documentation>Used in Cache attribs</xsd:documentation>
  49.         </xsd:annotation>
  50.         <xsd:attribute name="maxstale" type="Integer.datatype"/>
  51.     </xsd:attributeGroup>
  52.     <xsd:attributeGroup name="Cache.attribs">
  53.         <xsd:annotation>
  54.             <xsd:documentation>Cache attributes to control caching behavior</xsd:documentation>
  55.         </xsd:annotation>
  56.         <xsd:attributeGroup ref="Fetchhint.attrib"/>
  57.         <xsd:attributeGroup ref="Fetchtimeout.attrib"/>
  58.         <xsd:attributeGroup ref="Maxage.attrib"/>
  59.         <xsd:attributeGroup ref="Maxstale.attrib"/>
  60.     </xsd:attributeGroup>
  61.     <xsd:annotation>
  62.         <xsd:documentation>VoiceXML specific attributes</xsd:documentation>
  63.     </xsd:annotation>
  64.     <xsd:attributeGroup name="Accept.attrib">
  65.         <xsd:annotation>
  66.             <xsd:documentation>Accept attribute: menu, choice, option (2.2)</xsd:documentation>
  67.         </xsd:annotation>
  68.         <xsd:attribute name="accept" type="Accept.datatype" default="exact"/>
  69.     </xsd:attributeGroup>
  70.     <xsd:attributeGroup name="Next.attrib">
  71.         <xsd:annotation>
  72.             <xsd:documentation>URI to transition to</xsd:documentation>
  73.         </xsd:annotation>
  74.         <xsd:attribute name="next" type="URI.datatype"/>
  75.     </xsd:attributeGroup>
  76.     <xsd:attributeGroup name="Expr.attrib">
  77.         <xsd:annotation>
  78.             <xsd:documentation>Evaluates to URI to transition to</xsd:documentation>
  79.         </xsd:annotation>
  80.         <xsd:attribute name="expr" type="Script.datatype"/>
  81.     </xsd:attributeGroup>
  82.     <xsd:attributeGroup name="Next.attribs">
  83.         <xsd:annotation>
  84.             <xsd:documentation>Static or dynamic next URI to transition to</xsd:documentation>
  85.         </xsd:annotation>
  86.         <xsd:attributeGroup ref="Next.attrib"/>
  87.         <xsd:attributeGroup ref="Expr.attrib"/>
  88.     </xsd:attributeGroup>
  89.     <xsd:attributeGroup name="Name.attrib">
  90.         <xsd:annotation>
  91.             <xsd:documentation>Field variable name additional contraints: must be unique field name within form (2.3.1)</xsd:documentation>
  92.         </xsd:annotation>
  93.         <xsd:attribute name="name" type="RestrictedVariableName.datatype"/>
  94.     </xsd:attributeGroup>
  95.     <xsd:attributeGroup name="Cond.attrib">
  96.         <xsd:annotation>
  97.             <xsd:documentation>Additional constraints: must evaluate to true or false</xsd:documentation>
  98.         </xsd:annotation>
  99.         <xsd:attribute name="cond" type="Script.datatype"/>
  100.     </xsd:attributeGroup>
  101.     <xsd:attributeGroup name="Count.attrib">
  102.         <xsd:annotation>
  103.             <xsd:documentation/>
  104.         </xsd:annotation>
  105.         <xsd:attribute name="count" type="Integer.datatype"/>
  106.     </xsd:attributeGroup>
  107.     <xsd:attributeGroup name="If.attribs">
  108.         <xsd:attribute name="cond" type="Script.datatype" use="required"/>
  109.     </xsd:attributeGroup>
  110.     <xsd:attributeGroup name="EventHandler.attribs">
  111.         <xsd:annotation>
  112.             <xsd:documentation>Attributes common to event handlers</xsd:documentation>
  113.         </xsd:annotation>
  114.         <xsd:attributeGroup ref="Count.attrib"/>
  115.         <xsd:attributeGroup ref="Cond.attrib"/>
  116.     </xsd:attributeGroup>
  117.     <xsd:attributeGroup name="Form-item.attribs">
  118.         <xsd:annotation>
  119.             <xsd:documentation>Attributes common to form items</xsd:documentation>
  120.         </xsd:annotation>
  121.         <xsd:attributeGroup ref="Name.attrib"/>
  122.         <xsd:attributeGroup ref="Cond.attrib"/>
  123.         <xsd:attributeGroup ref="Expr.attrib"/>
  124.     </xsd:attributeGroup>
  125.     <xsd:attributeGroup name="GrammarScope.attrib">
  126.         <xsd:annotation>
  127.             <xsd:documentation>Attributes common to form and menu</xsd:documentation>
  128.         </xsd:annotation>
  129.         <xsd:attribute name="scope" type="GrammarScope.datatype" default="dialog"/>
  130.     </xsd:attributeGroup>
  131.     <xsd:attributeGroup name="Method.attrib">
  132.         <xsd:annotation>
  133.             <xsd:documentation>Atttibute for data transport method</xsd:documentation>
  134.         </xsd:annotation>
  135.         <xsd:attribute name="method" type="Method.datatype" default="get"/>
  136.     </xsd:attributeGroup>
  137.     <xsd:attributeGroup name="Enctype.attrib">
  138.         <xsd:annotation>
  139.             <xsd:documentation>Atttibute for content encoding</xsd:documentation>
  140.         </xsd:annotation>
  141.         <xsd:attribute name="enctype" type="ContentType.datatype"/>
  142.     </xsd:attributeGroup>
  143.     <xsd:attributeGroup name="RestrictedNamelist.attrib">
  144.         <xsd:annotation>
  145.             <xsd:documentation>Atttibute for encoding content</xsd:documentation>
  146.         </xsd:annotation>
  147.         <xsd:attribute name="namelist" type="RestrictedVariableNames.datatype"/>
  148.     </xsd:attributeGroup>
  149.     <xsd:attributeGroup name="Namelist.attrib">
  150.         <xsd:annotation>
  151.             <xsd:documentation>Atttibute for encoding content</xsd:documentation>
  152.         </xsd:annotation>
  153.         <xsd:attribute name="namelist" type="VariableNames.datatype"/>
  154.     </xsd:attributeGroup>
  155.     <xsd:attributeGroup name="Submit.attribs">
  156.         <xsd:annotation>
  157.             <xsd:documentation>Atttibutes for submit element (5.3.8)</xsd:documentation>
  158.         </xsd:annotation>
  159.         <xsd:attributeGroup ref="Method.attrib"/>
  160.         <xsd:attributeGroup ref="Enctype.attrib"/>
  161.         <xsd:attributeGroup ref="Namelist.attrib"/>
  162.     </xsd:attributeGroup>
  163.     <xsd:attributeGroup name="Prompt.attribs">
  164.         <xsd:annotation>
  165.             <xsd:documentation>Attributes for prompt, used in prompt element defined in synthesis namespace </xsd:documentation>
  166.         </xsd:annotation>
  167.         <xsd:attribute name="bargein" type="Boolean.datatype"/>
  168.         <xsd:attribute name="bargeintype" type="Bargeintype.datatype"/>
  169.         <xsd:attributeGroup ref="Count.attrib"/>
  170.         <xsd:attributeGroup ref="Cond.attrib"/>
  171.         <xsd:attribute name="timeout" type="Duration.datatype"/>
  172.     </xsd:attributeGroup>
  173.     <xsd:attributeGroup name="Throw.attribs">
  174.         <xsd:annotation>
  175.             <xsd:documentation>Attributes associated with event
  176. throwing </xsd:documentation>
  177.         </xsd:annotation>
  178.         <xsd:attribute name="event" type="EventName.datatype"/>
  179.         <xsd:attribute name="eventexpr" type="Script.datatype"/>
  180.         <xsd:attribute name="message" type="xsd:string"/>
  181.         <xsd:attribute name="messageexpr" type="Script.datatype"/>
  182.     </xsd:attributeGroup>
  183.   <xsd:attributeGroup name="VXMLGrammar.attribs">
  184.     <xsd:annotation>
  185.         <xsd:documentation>grammar attributes specific VoiceXML 2.0</xsd:documentation>
  186.     </xsd:annotation>
  187.             <xsd:attribute name="scope" type="GrammarScope.datatype"/>
  188.             <xsd:attribute name="weight" type="xsd:string"/>
  189.             <xsd:attributeGroup ref="Cache.attribs"/>
  190.             <xsd:attribute name="src" type="URI.datatype"/>
  191.             <xsd:attribute name="srcexpr" type="Script.datatype"/>
  192.             <xsd:attribute name="type" type="xsd:string"/>
  193.     </xsd:attributeGroup>
  194. </xsd:schema>