Skip to content

Instantly share code, notes, and snippets.

@jrobertson
Created October 28, 2010 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrobertson/652392 to your computer and use it in GitHub Desktop.
Save jrobertson/652392 to your computer and use it in GitHub Desktop.
testdata for rexle
<tests>
<summary/>
<records>
<test>
<summary>
<path>1</path>
<description>return the element which matches @colour="red"</description>
</summary>
<records>
<io>
<summary>
<type>input</type>
<xml>
<![CDATA[
<a>ddd<trust colour='red'>abc</trust><trust>fff</trust></a>
]]>
</xml>
<xpath>trust[@colour='red']</xpath>
</summary>
</io>
<io>
<summary>
<type>output</type>
<value>abc</value>
</summary>
</io>
</records>
</test>
</records>
</tests>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment