-<!--
  Copyright 1999-2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
-<!--
 CVS $Id: upload.xml 30932 2004-07-29 17:35:38Z vgritsenko $ 
-->
-<page>
<title>Demonstrate file upload as source</title>
-<content>
<para> Hi there! I'm a simple static page read from a file, but that's not the interesting part of this sample. Select any xml file from your local drive, and upload it. The resulting page will display that xml transformed by a stylesheet (which could also be provided via upload). </para>
<para> You must have configured enable-uploads as true in web.xml or built Cocoon with the config.enable-uploads=true property set for this sample to work. </para>
-<para>
-<form method="post" enctype="multipart/form-data" action="xml-upload-post">
File:
<input type="file" name="formFieldOne" size="50"/>
-<p>
<input type="submit" value="Upload File"/>
</p>
</form>
</para>
</content>
</page>