eml2tonbii conversion

Matthew Brooke brooke at nceas.ucsb.edu
Wed Oct 20 15:55:47 PDT 2004


In follow-up to Matt's email, I just wanted to mention an easy-to-use, 
free tool for processing XSLT -

download jedit from:

http://www.jedit.org/index.php?page=download

and after installing and starting it up, go to the "plugins" menu, 
select "plugin manager" and click the "install" tab

check the box for "XSLT" and click "install". When it's done, restart 
jedit, and then select "plugins", "XSLT", "XSLT Processor (toggle)". 
You'll be presented with a dialog that asks you for the existing XML and 
XSL files, and the path for the output (HTML) file to be generated. 
Click the "transform XML" button, and the magic happens :-)

good luck

m

-- 
-------------------------------------------------------------
Matthew Brooke, Ph.D.                   brooke at nceas.ucsb.edu
NCEAS - National Center for Ecological Analysis and Synthesis
735 State Street,  Suite 300,  Santa Barbara,  CA  93101-3351
phone: (805) 892 2531                       fax: 805-892-2510
-------------------------------------------------------------



Matt Jones wrote:
> Hi George,
> 
> Yeah, as I mentioned before, we haven't incorporated the script into our 
> tools yet, so it takes some background to run it.  You can apply the 
> XSLT by running it through an XSLT processor.  There are several open 
> source and commercial alternatives out there.  We tend to use Apache 
> Xalan (http://xml.apache.org) but it is definitely oriented towards 
> developers.  Some of the commercial tools might be easier, but I have no 
>  experience with them.  You can also use tools like "ant" 
> (http://ant.apache.org), which are slightly easier to configure to do 
> XSLT transformations, but is still a developers tool.  Ultimately, what 
> you do is basically to tell the XSLT processor which XML document to 
> process (the EML file) and which XSLT stylesheet to use 
> (eml2tonbii.xsl), and it produces the transformed output (a new NBII BDP 
> document).
> 
> When you export a data set from morpho, the export directory contains a 
> subdirectory called "metadata" that contains the orginal EML version of 
> the metadata.  That is the file you want to transform.
> 
> Hope this helps.
> Matt
> 
> George W Lienkaemper wrote:
> 
>> Hi All - I felt pretty good about working with Morpho after the workshop
>> last month, but now I'm up against my basic ignorance as to how to work
>> with the result of my data entry.  I'm hoping to make use of Morpho as 
>> the
>> engine to archive our tabular data sets.  Ultimately, I'll need to 
>> have my
>> metadata record in BDP format.  Matt steered me toward the eml2tonbii
>> directory, but I'm afraid I'm in too deep.  How do I actually apply the
>> .xsl file to an eml2 document?  Speaking of which, is the file I get 
>> when I
>> do an export from Morpho and eml2 document?  Is that what I use in the
>> conversion process?  Clearly I need some remedial work.  Thanks for any
>> guidance you can provide.  geo
>>
>> George Lienkaemper - GIS Specialist
>> USGS Forest & Rangeland Ecosystem Science Center
>> 3200 SW Jefferson Way, Corvallis, OR 97331
>> Ph: 541.750.7343  Fx: 541.758.8806
>> Email:  george_lienkaemper at usgs.gov
>>
>>
>> _______________________________________________
>> eml-dev mailing list
>> eml-dev at ecoinformatics.org
>> http://www.ecoinformatics.org/mailman/listinfo/eml-dev
> 
> 



More information about the Eml-dev mailing list