Mercurial > repos > ecology > xmlstarlet
comparison xmlstarlet.xml @ 0:4a9ac1df3278 draft default tip
"planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/main/tools-ecology/tools/xmlstarlet commit 6ebe0c98dd0d727b9202422e64f6d5f7697743fb"
author | ecology |
---|---|
date | Sun, 06 Mar 2022 22:10:31 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a9ac1df3278 |
---|---|
1 <tool id="xmlstarlet" name="xmlstarlet" version="1.6.1"> | |
2 <description>convert a metadata XML file in one standard to another</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.6.1">xmlstarlet</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 xml tr '$xsl' '$input' > '$output' | |
8 ]]> | |
9 </command> | |
10 <inputs> | |
11 <param name="input" type="data" format="xml" label="input xml file to convert" help="A xml file corresponding to a xsd schema you want to convert in another." /> | |
12 <param name="xsl" type="data" format="xml" label="input xsl convertion file" help="A xsl file describing the mapping between a first xsd specification to another." /> | |
13 </inputs> | |
14 <outputs> | |
15 <data name="output" format="xml" label="${tool.name} on ${on_string}: Converted xml" /> | |
16 </outputs> | |
17 <tests> | |
18 <!-- Ensure conversion works --> | |
19 <test expect_num_outputs="1"> | |
20 <param name="input" value="input_standardiso19115.xml" ftype="xml"/> | |
21 <param name="xsl" value="iso2eml_all_in_one.xsl" ftype="xml"/> | |
22 <output name="output" file="output_standardEML.xml" /> | |
23 </test> | |
24 </tests> | |
25 <help> | |
26 | |
27 .. class:: infomark | |
28 | |
29 **What it does** | |
30 | |
31 This tool converts a xml file to another using a xsl coversion file to specify the translation to be done, from a wsd schema to another. | |
32 | |
33 ----- | |
34 | |
35 **Inputs** | |
36 | |
37 A xml metadata file using a standard (for exemple EML, ISO19115,...) and a xsl file describing the mapping between the standard terms from input file and terms of the searched output standard. | |
38 | |
39 ----- | |
40 | |
41 **Outputs** | |
42 | |
43 A xml metadata file using a new standard (for example ISO19115, EML, ...). | |
44 </help> | |
45 <citations> | |
46 <citation type="bibtex">@ARTICLE{Kim07aninterior-point, | |
47 author = {Mikhail Grushinskiy}, | |
48 title = {XMLStarlet Command Line XML Toolkit}, | |
49 howpublished = "\url{http://xmlstar.sourceforge.net/}", | |
50 year = {2021}, | |
51 note = "{online; accessed 08-November-2021}" | |
52 }</citation> | |
53 </citations> | |
54 </tool> |