Mercurial > repos > iuc > xpath
comparison xpath.xml @ 2:b1dbdbf2be18 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit 8cbc5a00fac3f19591b1f956610f0cc60810dab2
author | iuc |
---|---|
date | Tue, 28 Nov 2017 05:13:30 -0500 |
parents | 1ba5c66e39c9 |
children |
comparison
equal
deleted
inserted
replaced
1:1ba5c66e39c9 | 2:b1dbdbf2be18 |
---|---|
83 </c> | 83 </c> |
84 </root> | 84 </root> |
85 | 85 |
86 Here are some example queries and their outputs: | 86 Here are some example queries and their outputs: |
87 | 87 |
88 +--------------------+---------------------------------------------------+ | |
89 | Query | Result | | |
88 +====================+===================================================+ | 90 +====================+===================================================+ |
89 | Query | Result | | |
90 +--------------------+---------------------------------------------------+ | |
91 | //b[@attr="value"] | <b attr="value">1</b> | | 91 | //b[@attr="value"] | <b attr="value">1</b> | |
92 +--------------------+---------------------------------------------------+ | 92 +--------------------+---------------------------------------------------+ |
93 | //b[@attr] | <b attr="value">1</b><b attr="none">2</b> | | 93 | //b[@attr] | <b attr="value">1</b><b attr="none">2</b> | |
94 +--------------------+---------------------------------------------------+ | 94 +--------------------+---------------------------------------------------+ |
95 | //b | <b attr="value">1</b><b attr="none">2</b><b>3</b> | | 95 | //b | <b attr="value">1</b><b attr="none">2</b><b>3</b> | |
99 | /root/*/*/text() | 1\n2\n3\n4\n5 | | 99 | /root/*/*/text() | 1\n2\n3\n4\n5 | |
100 +--------------------+---------------------------------------------------+ | 100 +--------------------+---------------------------------------------------+ |
101 | 101 |
102 | 102 |
103 | 103 |
104 | |
104 @ATTRIBUTION@ | 105 @ATTRIBUTION@ |
105 ]]></help> | 106 ]]></help> |
106 <citations> | 107 <citations> |
107 </citations> | 108 </citations> |
108 </tool> | 109 </tool> |