XPaths in ami2-regex results are all the same, while the actual matches aren't. It seems to be the XPath of the last match. Now that I'm looking at things: the last match doesn't actually have an XPath in the results.xml.
<?xml version="1.0" encoding="UTF-8"?>
<results title="jrc">
<result pre=" 7 April 2016). Since Ag " name0="jrc" value0="NM-300" post="K was provided as dispers" xpath="/html[1]/body[1]/div[2]/div[5]/p[3]"/>
<result pre="ispersant alone, i.e. Ag " name0="jrc" value0="NM-300" post="K DIS, was assessed (NM-x" xpath="/html[1]/body[1]/div[2]/div[5]/p[3]"/>
...
<result pre="as. The dispersant of Ag " name0="jrc" value0="NM-300" post="K alone (that does not co" xpath="/html[1]/body[1]/div[2]/div[5]/p[3]"/>
<result pre="e’ in the BCOP assay; Ag " name0="jrc" value0="NM-300" post="K DIS was assessed as ‘no"/>
</results>
XPaths in ami2-regex results are all the same, while the actual matches aren't. It seems to be the XPath of the last match. Now that I'm looking at things: the last match doesn't actually have an XPath in the
results.xml
.Software versions
Steps
regex.xml
Output
PMC4833924/results/regex/jrc/results.xml