NU IT
Northwestern University Information Technology
MorphAdorner Northwestern
 
MorphAdorner Server Services: Move notes in TEI XML file service

Service name: teinotesmover
Service description: Move notes in TEI XML file.
HTTP methods allowed: POST, OPTIONS
POST accepts as input: application/x-www-form-urlencoded
HTTP return codes: 200: service succeeded
400: service failed with an error

Query parameters

    media Result format. Only xml allowed.
    teifile TEI input file.
    resultsAsAttachedFile Allowed values are true to send the results as an attached file, and false to send the results as a data stream.

Sample POST form

<form accept-charset="UTF-8" method="post" action="teinotesmover"
      target="_blank"
      enctype="multipart/form-data" name="teinotesmover">
<table cellpadding="0" cellspacing="5">
<tr>
<td>
<strong>Adorned TEI XML file:</strong>
</td>
<td>
<input type="file" name="teifile" size="50">
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="checkbox" name="resultsAsAttachedFile" value="true"
       checked="checked"/>
Send results as attached file
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="movenotes" value="Move Notes" />
</td>
</tr>
</table>
</form>

Output

The notes in the input TEI XML file are gathered and moved into a <div> at the end of the text. This service works the same way as the MoveTEINotes utility.

Home
 
Announcements and News
 
Documentation
 
Download MorphAdorner
 
Glossary
 
Helpful References
 
Licenses
 
Server
 
Talks
 
Tech Talk