Transform TEI.2 compatiable XML to HTML
See
http://taporware.mcmaster.ca/~taporware/xmlTools/transform.shtml
Description
This tool performs XML transformation using XSL stylesheet. The XML text can be from anywhere in the internet or from your own computer's hard disk. The xslt stylesheet also can be from anywhere in the internet or from your local hard disk in addition to the default xslt from the
Globalization Project.
Pseudocode
- Obtain XML string by URL or from user's local disk. If the text is not an XML, return an error message
- Obtain XSLT stylesheet by URL or from user's local disk if user doesn't want to use the default XSLT
- Perform XML transformation
Ways of Using
- In the XML source panel, enter a valid URL pointing to an XML document in the URL field or enter a local path to upload xml text
- In XSLT stylesheet panel, select and enter the related URL or local path accordingly for the stylesheet
- Select if you want to open a new window to dispaly the result and press submit button
CGI Interface
If you want to use this tool from your web site, here is the CGI Interface:
(
Note: If you want to upload local xml text to the tool, you need to use attribute name/value pair: enctype="multipart/form-data" within the form tag)
Here are the parameters:
| Parameter Name | Parameter Value | Control Type | Default | Discription |
| source | url/local | radio button | url | Let user select input text (either a url or upload local xml text) |
| xmlurl | | text | | A Valid URL pointing to an xml text |
| localFile | | file | | The path to your local html text file |
| xslsource | default/url/local | radio button | default | Indicate where is xslt stylesheet |
| xslurl | | text | | Enter a URL pointing to an xslt stylesheet in the internet here if you select "XSL URL" |
| xsllocalFile | | file | | Browse or enter the xsl stylesheet local path if you want to use your own xsl |
| taporface | | checkbox | checked | Indicate if display the result in a new window without taporware interface |
Web Service Interface
Taporware provides web services to any non-benefit organizations. Here is the taporware web services infomation:
Known Bugs
To Do
--
MattPatey - 15 Oct 2005