Jan-17-2019, 10:17 AM
I have to copy specific strings from a pdf file and paste it into a specific tag in xml file. So, in the picture attached, number 3 from pdf goes to label tag 3 in xml, if it’s bold in pdf (first string — Melnik BC.), goes to the <collab> tag in xml, if it’s normal string (The Pathogenic Role…) goes into the <article-title> tag, italic string (Current Diabetes…) goes to <source> tag and then year 2015 goes in year tag, 11 goes in volume, 46 goes into fpage and 62 in lpage. Can anybody help me with an idea how can I solve this in python?
Thank you very much,
Dan
![[Image: 1.jpg?dl=0]](https://www.dropbox.com/s/i1s9063ms1q0o2m/1.jpg?dl=0)
Thank you very much,
Dan
![[Image: 1.jpg?dl=0]](https://www.dropbox.com/s/i1s9063ms1q0o2m/1.jpg?dl=0)