Having trouble?
Try the newer version at the University of Alberta:
http://taporware.ualberta.ca
Tools Home : XML Tools : Extract from XML

Click here to show HTML tools HTML Tools

Click here to expand XML tools XML tools

Click here to expand plain text tools Plain Text Tools

Click here to expand other tools Other tools

 Beta tools
 Add Tools Demo
 Manual
 About

Extract Text from XML Document
?
Summary

This Tool extracts the full body of text from an XML Document. This tool can also pull the text from user-specified elements or attributes.

For more details, see here.

Walkthrough

Example: fetch XML from http://www.xml.com/1999/03/ie5/first-x.xml; extract text from <para> elements.
  1. Source text
    1. Enter `http://www.xml.com/1999/03/ie5/first-x.xml' in the URL field.
  2. Subtext limited to
    1. Enter `para' in the Elements field.
*
» Source text
  Example: http://www.globalautonomy.ca/global1/articles/RA_Balibar_Strangers.xml

?
Summary

Determines the XML source. Text can be obtained from a URL or by uploading a file.

Fields

Source URL
Text from the entered URL will be used as the XML source for the analysis.

Local file
Use this field to upload a local XML file for analysis.
» Subtext limited to
?
Summary

Limits text for analysis to text that appears within elements listed in the Elements field. Attribute names and values can also be used to further limit which elements are included in the results.

Fields

Element
The element you want to add to the word/pattern (this one is mandatory)

Attribute name
The attribute name you want to added along with the element.

Attribute value
The attribute value you want to assigned to the attribute name. The attribute name and attribute value are optional but they must come in a pair.
» Results
?
Summary

Allows the user to choose how the results will be formatted and whether they should be displayed in a new browser window.

Fields

Display as
Determines the format in which results will be delivered

Open results in new window
Checking this box will display the results in a new window. This option is selected by default. In some cases pop-up blockers may disallow windows from being created, in which case this option may be de-selected.
`*' indicates a required field

 

 

TAPoRware Project, McMaster University,