PHP Classes

File: grammar_test1_xml

Recommend this page to a friend!
  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: 17 years ago
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>
For more information send a message to info at phpclasses dot org.