Login   Register  
PHP Classes
elePHPant
Icontem

File: grammar_test1_xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Headd  >  PHP Grammar  >  grammar_test1_xml  >  Download  
File: grammar_test1_xml
Role: Sample output
Content type: text/plain
Description: Simple grammar in XML format
Class: PHP Grammar
Create speech recognition grammar W3C XML files
Author: By
Last change:
Date: 2004-10-03 20:45
Size: 370 bytes
 

Contents

Class file image Download
<?xml version="1.0" ?>
<!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN"
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
 
<grammar version="1.0" xml:lang="en-US" xmlns="http://www.w3.org/2001/06/grammar" root="mainRule">
<rule id="mainRule" scope="public">
<one-of>
<item>one</item>
<item>two</item>
<item>three</item>
</one-of>
</rule>

</grammar>