vxml-synthesis-extension.xsd
上传用户:xqtpzdz
上传日期:2022-05-21
资源大小:1764k
文件大小:5k
源码类别:
xml/soap/webservice
开发平台:
Visual C++
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <xsd:annotation>
- <xsd:documentation>VoiceXML 2.0 extension schema for SSML 1.0 (20030207) </xsd:documentation>
- </xsd:annotation>
- <xsd:annotation>
- <xsd:documentation>
- Copyright 1998-2004 W3C (MIT, ERCIM, Keio), All Rights Reserved. Permission to
- use, copy, modify and distribute the VoiceXML SSML adaption schema and its
- accompanying documentation for any purpose and without fee is hereby granted
- in perpetuity, provided that the above copyright notice and this paragraph
- appear in all copies. The copyright holders make no representation about the
- suitability of the schema for any purpose. It is provided "as is" without
- expressed or implied warranty.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:include schemaLocation="vxml-attribs.xsd"/>
- <xsd:annotation>
- <xsd:documentation>Extension of SSML 1.0 no-namespace schema for use
- in VoiceXML 2.0. Restrictions are defined in voicexml20-synthesis-restriction.xsd.
- </xsd:documentation>
- </xsd:annotation>
- <!-- <xsd:redefine schemaLocation="vxml-synthesis-restriction.xsd"> -->
- <xsd:redefine schemaLocation="synthesis-core.xsd">
- <xsd:complexType name="say-as" mixed="true">
- <xsd:annotation>
- <xsd:documentation>extends say-as type by allowing the value element as a child</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="say-as">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element ref="value"/>
- </xsd:choice>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:complexType name="audio" mixed="true">
- <xsd:annotation>
- <xsd:documentation>extends audio type with VoiceXML 'expr' and caching attributes</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="audio">
- <xsd:attributeGroup ref="Expr.attrib"/>
- <xsd:attributeGroup ref="Cache.attribs"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:complexType name="mark">
- <xsd:annotation>
- <xsd:documentation>extends mark type with VoiceXML 'nameexpr'</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="mark">
- <xsd:attribute name="nameexpr" type="Script.datatype"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:complexType name="speak" mixed="true">
- <xsd:annotation>
- <xsd:documentation>extends speak type - add VoiceXML Prompt attributes</xsd:documentation>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="speak">
- <xsd:attributeGroup ref="Prompt.attribs"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:redefine>
- <xsd:element name="value" substitutionGroup="aws">
- <xsd:annotation>
- <xsd:documentation>value element is 'allowed-within-sentence' in SSML</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType>
- <xsd:attribute name="expr" type="Script.datatype" use="required"/>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="enumerate" substitutionGroup="aws">
- <xsd:annotation>
- <xsd:documentation>enumerate element is 'allowed-within-sentence' in SSML</xsd:documentation>
- </xsd:annotation>
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:group ref="allowed-within-sentence"/>
- <xsd:group ref="structure"/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="foreach" substitutionGroup="aws">
- <xsd:complexType mixed="true">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:group ref="foreach.content"/>
- <xsd:element ref="break"/>
- <xsd:element ref="emphasis"/>
- <xsd:element ref="mark"/>
- <xsd:element ref="phoneme"/>
- <xsd:element ref="prosody"/>
- <xsd:element ref="say-as"/>
- <xsd:element ref="sub"/>
- <xsd:element ref="voice"/>
- <xsd:element ref="metadata"/>
- <xsd:group ref="structure"/>
- <xsd:any namespace="##other" processContents="strict"/>
- </xsd:choice>
- <xsd:attribute name="item" type="RestrictedVariableName.datatype" use="required"/>
- <xsd:attribute name="array" type="Script.datatype" use="required"/>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>