eml2tonbii conversion

Matt Jones jones at nceas.ucsb.edu
Wed Oct 20 15:13:33 PDT 2004


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

-- 
-------------------------------------------------------------------
Matt Jones                                     jones at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Fax: 425-920-2439    Ph: 907-789-0496
National Center for Ecological Analysis and Synthesis (NCEAS)
University of California Santa Barbara
Interested in ecological informatics? http://www.ecoinformatics.org
-------------------------------------------------------------------



More information about the Eml-dev mailing list