Mercurial > repos > iuc > xpath
annotate xpath.xml @ 0:7e01c6a6dbed draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
author | iuc |
---|---|
date | Fri, 10 Jun 2016 15:08:32 -0400 |
parents | |
children | 1ba5c66e39c9 |
rev | line source |
---|---|
0
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
2 <tool id="xpath" name="XPath" version="@WRAPPER_VERSION@.0"> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
3 <description>compute xpath expressions on XML data</description> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
4 <macros> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
6 </macros> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
8 <expand macro="stdio"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
9 <command interpreter="bash"><![CDATA[xpath |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
10 -q |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
11 -e '$expression' $input > $output |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
12 ]]></command> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
13 <inputs> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
14 <param name="input" type="data" format="xml" label="Input XML data"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
15 <param name="expression" type="text" label="XPath Query"> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
16 <sanitizer> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
17 <valid> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
18 <add value="""/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
19 <add value="["/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
20 <add value="]"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
21 <add value="@"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
22 </valid> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
23 </sanitizer> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
24 </param> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
25 </inputs> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
26 <outputs> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
27 <!-- TODO: sometimes there's text output (e.g. text() queries) --> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
28 <data format="xml" name="output" label="XPath expression on $input.name"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
29 </outputs> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
30 <tests> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
31 <test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
32 <param name="input" value="test.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
33 <param name="expression" value="//b[@attr="value"]" /> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
34 <output name="output" file="1.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
35 </test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
36 <test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
37 <param name="input" value="test.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
38 <param name="expression" value="//b[@attr]" /> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
39 <output name="output" file="2.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
40 </test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
41 <test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
42 <param name="input" value="test.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
43 <param name="expression" value="//b/text()" /> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
44 <output name="output" file="3.xml"/> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
45 </test> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
46 </tests> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
47 <help><![CDATA[ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
48 **What it does** |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
49 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
50 Query XML files with XPath expressions. |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
51 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
52 For an example input file:: |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
53 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
54 <root> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
55 <IdList> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
56 <Id>1234</Id> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
57 <Id>1235</Id> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
58 <Id>1236</Id> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
59 <Id>1237</Id> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
60 </IdList> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
61 </root> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
62 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
63 One could query out the IDs specifically with a query like:: |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
64 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
65 //Id/text() |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
66 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
67 **XPath Expressions** |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
68 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
69 There are many helpful tutorials on the internet for XPath expressions. |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
70 `Wikipedia <https://en.wikipedia.org/wiki/XPath>`__ has a number of good |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
71 examples. |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
72 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
73 **Some More Examples** |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
74 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
75 For an XML document like the following:: |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
76 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
77 <root> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
78 <a> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
79 <b attr="value">1</b> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
80 <b attr="none">2</b> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
81 <b>3</b> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
82 </a> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
83 <c> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
84 <d>4</d> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
85 <e>5</e> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
86 </c> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
87 </root> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
88 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
89 Here are some example queries and their outputs: |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
90 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
91 +====================+===================================================+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
92 | Query | Result | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
93 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
94 | //b[@attr="value"] | <b attr="value">1</b> | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
95 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
96 | //b[@attr] | <b attr="value">1</b><b attr="none">2</b> | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
97 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
98 | //b | <b attr="value">1</b><b attr="none">2</b><b>3</b> | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
99 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
100 | //b/text() | 1\n2\n3 | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
101 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
102 | /root/*/*/text() | 1\n2\n3\n4\n5 | |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
103 +--------------------+---------------------------------------------------+ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
104 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
105 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
106 |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
107 @ATTRIBUTION@ |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
108 ]]></help> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
109 <citations> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
110 </citations> |
7e01c6a6dbed
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
iuc
parents:
diff
changeset
|
111 </tool> |