<?xml version="1.1"?>
<!--
Copyright: Copyright 1998-2008  W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Jack Jansen (CWI)
Version: January 22, 2008
Chapter: SMIL 3.0 State
Module: UserState
Feature: newvalue where attribute
File Name: test-06-newvalue.smil
Description: Saves the state document to a file.
	StateSubmission is required for this test to work.
Expected Behavior: After running the test there should be a file
	"test-06-newvalue-out.xml". The contents of this file should be
	identical to "test-06-newvalue-out-correct.xml" (modulo whitespace).
	
-->
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
  <head>
    <layout>
      <root-layout width="400" height="100" backgroundColor="white"/>
    </layout>
    <state language="http://www.w3.org/TR/1999/REC-xpath-19991116">
     <data xmlns="">
      <fortytwo>42</fortytwo>
     </data>
    </state>
    <submission xml:id="subid" method="put" action="test-06-newvalue-out.xml" />
  </head>
  <body>
   <seq>
    <newvalue ref="fortytwo" where="before" name="fortyone" value="41" />
    <newvalue ref="fortytwo" where="after" name="fortythree" value="43" />
    <newvalue ref="fortytwo" where="child" name="fortytwopointfive" value="42.5" />
    <text dur="5s" src="data:,writing%20xml%20to%20test-06-newvalue-out xml" />
    <send submission="subid" />
    <text dur="5s" src="data:,write%20to%20to%20test-06-newvalue-out xml%20done" />
   </seq>
  </body>
</smil>
