<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML+Voice 1.1/EN" "xhtml+voice.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:vxml="http://www.w3.org/2001/vxml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xv="http://www.voicexml.org/2002/xhtml+voice">
<head>
<title>Nursery Rhymes - Voice Examples</title>

<form xmlns="http://www.w3.org/2001/vxml" id="child">
<block>
	<assign name="document.getElementById('mary').style.voiceFamily" expr="'child female'" />
	<prompt xv:src="#mary" />
</block>
</form>

<form xmlns="http://www.w3.org/2001/vxml" id="woman">
<block>
	<assign name="document.getElementById('mary').style.voiceFamily" expr="'female'" />
	<prompt xv:src="#mary" />
</block>
</form>

<form xmlns="http://www.w3.org/2001/vxml" id="man">
<block>
	<assign name="document.getElementById('mary').style.voiceFamily" expr="'male 1'" />
/*	<prompt xv:src="#mary" /> */
</block>
</form>

<style type="text/css">
p { text-align: center; font-size: 3em; }
#mary { -xv-voice-volume: x-loud; }
</style>

</head>
<body>

<p>
	<button ev:event="click" ev:handler="#child">Child's Voice</button>
	 &nbsp; &nbsp; &nbsp; 
	<button ev:event="click" ev:handler="#woman">Woman's Voice</button>
	 &nbsp; &nbsp; &nbsp; 
	<button ev:event="click" ev:handler="#man">Man's Voice</button>
</p>

<p id="mary">Mary had a little lamb, who's fleece was white as snow, and everywhere that Mary went, the lamb was sure to go.</p>

</body>
</html>