my @foots = $document->get_xpath('//text:span[@text:style-name="footnote reference"]');