Replace XML tags in first file with data from a second file

Replace XML tags in first file with data from a second file

81
Advanced UserAdvanced User
81

    Feb 16, 2016#1

    I want the first and last page to be taken from sample 2 and replaced on sample 1 using the DOI no's from both samples.

    Sample 1:

    Code: Select all

    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011220</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>b.P.</ce:initials>
    <ce:surname>Vlas*</ce:surname>
    <ce:given-name>by P.</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>98</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011451</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>b.D.</ce:initials>
    <ce:surname>Kokkini-Iatridou**</ce:surname>
    <ce:given-name>by D.</ce:given-name>
    </author>
    <affiliation>
    <city-group>Amsterdam.</city-group>
    </affiliation>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>194</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011463</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>b.G.</ce:initials>
    <ce:surname>Limburg*</ce:surname>
    <ce:given-name>by G.</ce:given-name>
    </author>
    <affiliation>
    <country iso-code=""/>
    </affiliation>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>203</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011682</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Kokkini-Iatridou*</ce:surname>
    <ce:given-name>D.</ce:given-name>
    </author>
    </author-group>
    <author-group seq="2">
    <author seq="2">
    <ce:initials>P..d.</ce:initials>
    <ce:surname>Waart**</ce:surname>
    <ce:given-name>PALM. de</ce:given-name>
    </author>
    </author-group>
    <author-group seq="3">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Kokkini-Iatridou*</ce:surname>
    <ce:given-name>D.</ce:given-name>
    </author><author seq="2">
    <ce:initials>P..d.</ce:initials>
    <ce:surname>Waart**</ce:surname>
    <ce:given-name>PALM. de</ce:given-name>
    </author></author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>333</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011694</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>b.T.</ce:initials>
    <ce:surname>Maluwa**</ce:surname>
    <ce:given-name>by T.</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <p t="fl">4. SUMMARY AND CONCLUSION</p>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>370</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011700</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    </author-group>
    <author-group seq="2">
    </author-group>
    <author-group seq="3">
    <author seq="1">
    <ce:initials>J.M.</ce:initials>
    <ce:surname>Polak*</ce:surname>
    <ce:given-name>Jimmy M.</ce:given-name><sp/>
    </author><author seq="2">
    <ce:initials>a.M.</ce:initials>
    <ce:surname>V. Polak”</ce:surname>
    <ce:given-name>and Maurice</ce:given-name>
    </author></author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>411</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011712</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>b.A.M.</ce:initials>
    <ce:surname>Stuyt*</ce:surname>
    <ce:given-name>by A.M.</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>421</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001937</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>M.</ce:initials>
    <ce:surname>Blaylock</ce:surname>
    <ce:given-name>Malcolm</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <p class="Last_Page">79</p>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page></first-page>
    <last-page>75</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002001</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>B.</ce:initials>
    <ce:surname>Ensemble</ce:surname>
    <ce:given-name>Berliner</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>106</first-page>
    <last-page>116</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0165070X00011256</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>H.</ce:initials>
    <ce:surname>Meijers</ce:surname>
    <ce:given-name>H.</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>108</first-page>
    <last-page>114</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002013</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>T.C.</ce:initials>
    <ce:surname>Davis</ce:surname>
    <ce:given-name>Tracy C.</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>117</first-page>
    <last-page>135</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X0000186X</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>K.</ce:initials>
    <ce:surname>Gaspar</ce:surname>
    <ce:given-name>Karl</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>12</first-page>
    <last-page>15</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002025</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>P.</ce:initials>
    <ce:surname>Mathers</ce:surname>
    <ce:given-name>Pete</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>136</first-page>
    <last-page>153</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002037</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>W.</ce:initials>
    <ce:surname>Harrison</ce:surname>
    <ce:given-name>Wilfred</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>154</first-page>
    <last-page>174</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001871</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Hornbrook</ce:surname>
    <ce:given-name>David</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>16</first-page>
    <last-page>25</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002049</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>175</first-page>
    <last-page>180</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002153</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>A.</ce:initials>
    <ce:surname>Kiernander</ce:surname>
    <ce:given-name>Adrian</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>195</first-page>
    <last-page>203</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002165</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>A.</ce:initials>
    <ce:surname>Kiernander</ce:surname>
    <ce:given-name>Adrian</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>203</first-page>
    <last-page>212</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002177</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Graver</ce:surname>
    <ce:given-name>David</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>212</first-page>
    <last-page>216</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002189</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>H.</ce:initials>
    <ce:surname>Rorrison</ce:surname>
    <ce:given-name>Hugh</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>217</first-page>
    <last-page>232</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002190</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>G.</ce:initials>
    <ce:surname>Manifold</ce:surname>
    <ce:given-name>Gay</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>233</first-page>
    <last-page>236</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002207</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>E.</ce:initials>
    <ce:surname>Aston</ce:surname>
    <ce:given-name>Elaine</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>237</first-page>
    <last-page>242</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002219</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>G.</ce:initials>
    <ce:surname>Loney</ce:surname>
    <ce:given-name>Glenn</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>243</first-page>
    <last-page>249</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002220</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>B.</ce:initials>
    <ce:surname>Day</ce:surname>
    <ce:given-name>Barbara</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>250</first-page>
    <last-page>274</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001883</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>A.</ce:initials>
    <ce:surname>Cairns</ce:surname>
    <ce:given-name>Adrian</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>26</first-page>
    <last-page>28</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002232</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>G.</ce:initials>
    <ce:surname>Cousin</ce:surname>
    <ce:given-name>Geraldine</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>275</first-page>
    <last-page>281</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002244</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Morton</ce:surname>
    <ce:given-name>David</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <p t="fl">Other People's Stories</p>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>283</first-page>
    <last-page></last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002256</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.</ce:initials>
    <ce:surname>Morton</ce:surname>
    <ce:given-name>David</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>283</first-page>
    <last-page>285</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002268</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>J.</ce:initials>
    <ce:surname>Nixon</ce:surname>
    <ce:given-name>Jon</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>285</first-page>
    <last-page>286</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X0000227X</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>T.</ce:initials>
    <ce:surname>Graham</ce:surname>
    <ce:given-name>Tony</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>287</first-page>
    <last-page>288</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001895</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>F.</ce:initials>
    <ce:surname>Ruffini</ce:surname>
    <ce:given-name>Franco</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>29</first-page>
    <last-page>37</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X0000230X</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>T.</ce:initials>
    <ce:surname>Howard</ce:surname>
    <ce:given-name>Tony</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>291</first-page>
    <last-page>305</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001858</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>R.</ce:initials>
    <ce:surname>Schechner</ce:surname>
    <ce:given-name>Richard</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>3</first-page>
    <last-page>11</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002311</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>R.</ce:initials>
    <ce:surname>Potter</ce:surname>
    <ce:given-name>Robert</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>306</first-page>
    <last-page>312</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002323</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>R.G.</ce:initials>
    <ce:surname>Davis</ce:surname>
    <ce:given-name>R. G.</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>313</first-page>
    <last-page>319</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002335</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>320</first-page>
    <last-page>335</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002347</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>H.</ce:initials>
    <ce:surname>Barker</ce:surname>
    <ce:given-name>Howard</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>336</first-page>
    <last-page>344</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002359</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>N.C.</ce:initials>
    <ce:surname>Schmitt</ce:surname>
    <ce:given-name>Natalie Crohn</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>345</first-page>
    <last-page>351</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002360</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>D.E.</ce:initials>
    <ce:surname>R. George</ce:surname>
    <ce:given-name>David E.</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>352</first-page>
    <last-page>363</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002384</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>G.</ce:initials>
    <ce:surname>Bolton</ce:surname>
    <ce:given-name>Gavin</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>369</first-page>
    <last-page></last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002396</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>G.</ce:initials>
    <ce:surname>Bolton</ce:surname>
    <ce:given-name>Gavin</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>369</first-page>
    <last-page>371</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002402</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>W.</ce:initials>
    <ce:surname>Dobwson</ce:surname>
    <ce:given-name>Warwick</ce:given-name>
    </author>
    </author-group>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>371</first-page>
    <last-page>375</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00002414</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>J.L.</ce:initials>
    <ce:surname>Rosenberg</ce:surname>
    <ce:given-name>James L.</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>376</first-page>
    <last-page>384</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001901</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>J.</ce:initials>
    <ce:surname>Malick</ce:surname>
    <ce:given-name>Javed</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>38</first-page>
    <last-page>53</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001913</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>P.</ce:initials>
    <ce:surname>Fitzpatrick</ce:surname>
    <ce:given-name>Peter</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>54</first-page>
    <last-page>67</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001925</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>P.</ce:initials>
    <ce:surname>Fitzpatrick</ce:surname>
    <ce:given-name>Peter</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>68</first-page>
    <last-page>74</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001949</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>80</first-page>
    <last-page>89</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001950</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>K.</ce:initials>
    <ce:surname>Gallasch</ce:surname>
    <ce:given-name>Keith</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>90</first-page>
    <last-page>93</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001962</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>M.</ce:initials>
    <ce:surname>Morley</ce:surname>
    <ce:given-name>Michael</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>94</first-page>
    <last-page>96</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    <bibrecord>
    <item-info>
    <itemidlist>
    <ce:doi>10.1017/S0266464X00001998</ce:doi>
    </itemidlist>
    </item-info>
    <head>
    <citation-title>
    <titletext xml:lang="ENG">fdfdsfdfds</titletext>
    </citation-title>
    <author-group seq="1">
    <author seq="1">
    <ce:initials>E.</ce:initials>
    <ce:surname>Schall</ce:surname>
    <ce:given-name>Ekkehard</ce:given-name>
    </author>
    </author-group>
    <abstracts>
    <abstract>
    <ce:para>dasd</ce:para>
    </abstract>
    </abstracts>
    <volisspag>
    <y>...</y>
    <page-information>
    <pages>
    <first-page>99</first-page>
    <last-page>105</last-page>
    </pages>
    </page-information>
    </volisspag>
    <x>...</x>
    </source>
    </head>
    </bibrecord>
    Sample 2:

    Code: Select all

    <?xml version="1.0" standalone="yes"?>
    <DocumentElement>
    <PDF>
    <DOI>10.1017/S0165070X00011256</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>108</First_Page>
    <Last_Page>114</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011220</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>84</First_Page>
    <Last_Page>98</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011451</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>143</First_Page>
    <Last_Page>194</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011463</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>195</First_Page>
    <Last_Page>203</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011682</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>289</First_Page>
    <Last_Page>333</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011700</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>371</First_Page>
    <Last_Page>411</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011694</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>334</First_Page>
    <Last_Page>370</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0165070X00011712</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>412</First_Page>
    <Last_Page>421</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001901</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>38</First_Page>
    <Last_Page>53</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X0000186X</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>12</First_Page>
    <Last_Page>15</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001925</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>68</First_Page>
    <Last_Page>74</
    Sample 2:

    Code: Select all

    Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001949</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>80</First_Page>
    <Last_Page>89</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001950</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>90</First_Page>
    <Last_Page>93</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001871</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>16</First_Page>
    <Last_Page>25</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001895</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>29</First_Page>
    <Last_Page>37</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001913</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>54</First_Page>
    <Last_Page>67</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001937</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>75</First_Page>
    <Last_Page>79</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001858</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>3</First_Page>
    <Last_Page>11</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001962</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>94</First_Page>
    <Last_Page>96</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001883</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>26</First_Page>
    <Last_Page>28</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002049</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>175</First_Page>
    <Last_Page>180</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002013</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>117</First_Page>
    <Last_Page>135</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002037</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>154</First_Page>
    <Last_Page>174</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00001998</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>99</First_Page>
    <Last_Page>105</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002001</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>106</First_Page>
    <Last_Page>116</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002025</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>136</First_Page>
    <Last_Page>153</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X0000227X</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>287</First_Page>
    <Last_Page>288</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002232</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>275</First_Page>
    <Last_Page>282</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002153</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>195</First_Page>
    <Last_Page>203</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002256</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>283</First_Page>
    <Last_Page>285</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002177</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>212</First_Page>
    <Last_Page>216</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002219</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>243</First_Page>
    <Last_Page>249</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002220</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>250</First_Page>
    <Last_Page>274</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002244</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>283</First_Page>
    <Last_Page>283</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002165</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>203</First_Page>
    <Last_Page>212</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002268</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>285</First_Page>
    <Last_Page>286</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002189</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>217</First_Page>
    <Last_Page>232</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002190</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>233</First_Page>
    <Last_Page>236</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002207</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>237</First_Page>
    <Last_Page>242</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002396</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>369</First_Page>
    <Last_Page>371</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002311</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>306</First_Page>
    <Last_Page>312</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002414</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>376</First_Page>
    <Last_Page>384</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002335</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>320</First_Page>
    <Last_Page>335</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002359</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>345</First_Page>
    <Last_Page>351</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002360</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>352</First_Page>
    <Last_Page>363</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002384</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>369</First_Page>
    <Last_Page>369</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002402</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>371</First_Page>
    <Last_Page>375</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002323</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>313</First_Page>
    <Last_Page>319</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X0000230X</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>291</First_Page>
    <Last_Page>305</Last_Page>
    </PDF>
    <PDF>
    <DOI>10.1017/S0266464X00002347</DOI>
    <Year>1986</Year>
    <a>...</a>
    <First_Page>336</First_Page>
    <Last_Page>344</Last_Page>
    </PDF>
    </DocumentElement>
    I have created a macro but doesn't work properly. Please help.

    Macro:

    Code: Select all

    InsertMode
    ColumnModeOff
    HexOff
    UnixReOff
    Find RegExp "<ce:doi>*</ce:doi>"
    Copy 
    NewFile
    Paste 
    UnixReOff
    Find RegExp "<ce:doi>"
    Replace All ""
    UnixReOff
    Find RegExp "</ce:doi>"
    Replace All ""
    SelectAll
    Copy 
    CloseFile NoSave
    Open "C:\Users\user\Desktop\meta.txt"
    UnixReOff
    Find RegExp "^c"
    UnixReOff
    Find RegExp "<First_Page>*</First_Page>
    <Last_Page>*</Last_Page>"
    Copy 
    CloseFile NoSave
    Open "C:\Users\user\Desktop\page.txt"
    Paste 
    UnixReOff
    Find RegExp "<First_Page>"
    Replace All "<first-page>"
    UnixReOff
    Find RegExp "</First_Page>"
    Replace All "</first-page>"
    UnixReOff
    Find RegExp "<Last_Page>"
    Replace All "<last-page>"
    UnixReOff
    Find RegExp "</Last_Page>"
    Replace All "</last-page>"
    ClearClipboard
    SelectAll
    StartSelect
    Copy 
    CloseFile NoSave
    UnixReOff
    Find RegExp "<first-page>*</first-page>
    <last-page>*</last-page>"
    Paste 
    
    The meta.txt contains the data of sample 2 and page.txt is a blank text file.Last_Page

    6,681583
    Grand MasterGrand Master
    6,681583

      Feb 17, 2016#2

      Here is the rewritten macro to update all first and last page tags in active file with data found in file meta.txt if found at all.

      Code: Select all

      InsertMode
      ColumnModeOff
      HexOff
      Top
      Open "C:\Users\user\Desktop\meta.txt"
      PreviousWindow
      Clipboard 9
      Loop 0
      PerlReOn
      Find MatchCase RegExp "(?<=<ce:doi>).+?(?=</ce:doi>)"
      IfNotFound
      ExitLoop
      EndIf
      Copy
      NextWindow
      Top
      Find MatchCase "^c"
      IfFound
      Find MatchCase RegExp "<First_Page>(.*?)</First_Page>\s+<Last_Page>(.*?)</Last_Page>"
      Replace "<first-page>\1</first-page>\r\n<last-page>\2</last-page>"
      IfFound
      StartSelect
      Key UP ARROW
      Key HOME
      Copy
      EndSelect
      PreviousWindow
      UltraEditReOn
      Find MatchCase RegExp "<first-page>*</first-page>[^r^n^t ]+<last-page>*</last-page>"
      Replace "^c"
      Else
      PreviousWindow
      EndIf
      Else
      PreviousWindow
      EndIf
      EndLoop
      NextWindow
      CloseFile NoSave
      ClearClipboard
      Clipboard 0
      Top
      
      And here is the macro code once again, but with indentations and comment lines explaining how this macro works. As it is not possible to save a macro code in this way into a macro file, I strongly recommend to have for each *.mac file a *.uem file with the code indented and commented to be able to understand the macro also months and years later. See Macro examples and reference for beginners and experts for details about *.uem files usage.

      Code: Select all

      InsertMode
      ColumnModeOff
      HexOff
      
      //  Move caret in file to modify to top of file.
      Top
      //  Open the other file if not already opened.
      Open "C:\Users\user\Desktop\meta.txt"
      
      //  Back to previous file which should be modified.
      PreviousWindow
      
      //  Use user clipboard 9 as variable text storage.
      Clipboard 9
      
      //  Run the commands in the loop until no ce:doi element found anymore in file to modify.
      Loop 0
      
      //  Find with a Perl regular expression next non blank value of a ce:doi element.
          PerlReOn
          Find MatchCase RegExp "(?<=<ce:doi>).+?(?=</ce:doi>)"
          IfNotFound
              ExitLoop
          EndIf
      
      //  Copy the found string to clipboard, switch to file meta.txt, move there caret
      //  to top of file in case of the elements are not in same order as in active file
      //  and search for the copied string not using a regular expression search as ^c
      //  can't be used with Perl regexp engine.
          Copy
          NextWindow
          Top
          Find MatchCase "^c"
      
      //  If the string can't be found, skip updating first and last page element for this string.
          IfFound
      
      //  Find the first and last page in meta.txt coded with different tags and reformat them
      //  to the format of required for file to modify with a single replace using back-references.
              Find MatchCase RegExp "<First_Page>(.*?)</First_Page>\s+<Last_Page>(.*?)</Last_Page>"
              Replace "<first-page>\1</first-page>\r\n<last-page>\2</last-page>"
      
      //  If the replace was successful, reselect just modified two lines, copy them to user clipboard 9,
      //  switch back to file to modify and use UltraEdit regular expression engine to replace the first
      //  and last page tags in this file by the clipboard content from file meta.txt.
              IfFound
                  StartSelect
                  Key UP ARROW
                  Key HOME
                  Copy
                  EndSelect
                  PreviousWindow
                  UltraEditReOn
                  Find MatchCase RegExp "<first-page>*</first-page>[^r^n^t ]+<last-page>*</last-page>"
                  Replace "^c"
              Else
              	PreviousWindow
              EndIf
          Else
          	PreviousWindow
          EndIf
      EndLoop
      
      // After all ce:doi element processed in file to modify, switch to file meta.txt
      // and close it without saving the modifications. Then clear user clipboard 9,
      // activate operating system clipboard and move caret in modified file to top.
      NextWindow
      CloseFile NoSave
      ClearClipboard
      Clipboard 0
      Top
      
      By the way: With using a script instead of a macro the task could be done much faster because no need to switch active file avoiding many display updates. And if the two files are small - let's say less than 20 MB - a script could do everything in memory which would reduce the number of display updates to a minimum and would produce only 1 undo record for the file to modify and no one for meta.txt which of course would dramatically reduce the time needed for this data copying task.

      Edit: This improved version is even faster as the version above and has the advantage to work also for multiple ce:doi elements with identical strings in file to modify.

      Code: Select all

      InsertMode
      ColumnModeOff
      HexOff
      Top
      Open "C:\Users\user\Desktop\meta.txt"
      Top
      PerlReOn
      Find MatchCase RegExp "<First_Page>(.*?)</First_Page>\s+<Last_Page>(.*?)</Last_Page>"
      Replace All "<first-page>\1</first-page>\r\n<last-page>\2</last-page>"
      PreviousWindow
      Clipboard 9
      Loop 0
      PerlReOn
      Find MatchCase RegExp "(?<=<ce:doi>).+?(?=</ce:doi>)"
      IfNotFound
      ExitLoop
      EndIf
      Copy
      NextWindow
      Top
      Find MatchCase "^c"
      IfFound
      Find MatchCase RegExp "<first-page>.*?</first-page>\s+<last-page>.*?</last-page>"
      IfFound
      Copy
      PreviousWindow
      UltraEditReOn
      Find MatchCase RegExp "<first-page>*</first-page>[^r^n^t ]+<last-page>*</last-page>"
      Replace "^c"
      Else
      PreviousWindow
      EndIf
      Else
      PreviousWindow
      EndIf
      EndLoop
      NextWindow
      CloseFile NoSave
      ClearClipboard
      Clipboard 0
      Top
      
      Again the same code with indentations and comments.

      Code: Select all

      InsertMode
      ColumnModeOff
      HexOff
      
      //  Move caret in file to modify to top of file.
      Top
      //  Open the other file if not already opened and reformat all first and last page tags
      //  to the format used in the file to modify using Perl regexp engine with back-references.
      Open "C:\Users\user\Desktop\meta.txt"
      Top
      PerlReOn
      Find MatchCase RegExp "<First_Page>(.*?)</First_Page>\s+<Last_Page>(.*?)</Last_Page>"
      Replace All "<first-page>\1</first-page>\r\n<last-page>\2</last-page>"
      
      //  Back to previous file which should be modified.
      PreviousWindow
      
      //  Use user clipboard 9 as variable text storage.
      Clipboard 9
      
      //  Run the commands in the loop until no ce:doi element found anymore in file to modify.
      Loop 0
      
      //  Find with a Perl regular expression next non blank value of a ce:doi element.
          PerlReOn
          Find MatchCase RegExp "(?<=<ce:doi>).+?(?=</ce:doi>)"
          IfNotFound
              ExitLoop
          EndIf
      
      //  Copy the found string to clipboard, switch to file meta.txt, move there caret
      //  to top of file in case of the elements are not in same order as in active file
      //  and search for the copied string not using a regular expression search as ^c
      //  can't be used with Perl regexp engine.
          Copy
          NextWindow
          Top
          Find MatchCase "^c"
      
      //  If the string can't be found, skip updating first and last page element for this string.
          IfFound
      
      //  Find the first and last page in meta.txt.
              Find MatchCase RegExp "<first-page>.*?</first-page>\s+<last-page>.*?</last-page>"
      
      //  If the two lines are found, copy them to user clipboard 9, switch back to file
      //  to modify and use UltraEdit regular expression engine to replace the first and
      //  last page tags in this file by the clipboard content from file meta.txt.
              IfFound
                  Copy
                  PreviousWindow
                  UltraEditReOn
                  Find MatchCase RegExp "<first-page>*</first-page>[^r^n^t ]+<last-page>*</last-page>"
                  Replace "^c"
              Else
              	PreviousWindow
              EndIf
          Else
          	PreviousWindow
          EndIf
      EndLoop
      
      // After all ce:doi element processed in file to modify, switch to file meta.txt
      // and close it without saving the modifications. Then clear user clipboard 9,
      // activate operating system clipboard and move caret in modified file to top.
      NextWindow
      CloseFile NoSave
      ClearClipboard
      Clipboard 0
      Top
      
      Best regards from an UC/UE/UES for Windows user from Austria

      81
      Advanced UserAdvanced User
      81

        Feb 17, 2016#3

        Thanks again Mofi. The macro is running properly on my home PC which has UE 22.20.0.49.
        However, my office PC has version 14.10 and since there is no internet connection available I cannot upgrade the version and I need the macro to run on that version. I have changed the command "UltraEditReOn" to "UnixReOff" as I did not see any other changes that could not be supported but still the macro does not work properly. Can you give me any idea what the reason might be. I know its a lot to ask of you, but I need help.

        Thank you anyways, even if you do not wish to assist me further. You have been extremely helpful. :mrgreen:

        6,681583
        Grand MasterGrand Master
        6,681583

          Feb 17, 2016#4

          The first macro adapted for UE v14.10.0.1025:

          Code: Select all

          InsertMode
          ColumnModeOff
          HexOff
          Top
          Open "C:\Users\user\Desktop\meta.txt"
          PreviousWindow
          Clipboard 9
          Loop 
          PerlReOn
          Find MatchCase RegExp "(?<=<ce:doi>).+?(?=</ce:doi>)"
          IfNotFound
          ExitLoop
          EndIf
          Copy 
          NextWindow
          Top
          Find MatchCase "^c"
          IfFound
          Find MatchCase RegExp "<First_Page>(.*?)</First_Page>\s+<Last_Page>(.*?)</Last_Page>"
          Replace "<first-page>\1</first-page>\r\n<last-page>\2</last-page>"
          IfFound
          Key LEFT ARROW
          Key RIGHT ARROW
          StartSelect
          Key UP ARROW
          Key HOME
          Copy 
          EndSelect
          PreviousWindow
          UnixReOff
          Find MatchCase RegExp "<first-page>*</first-page>[^r^n^t ]+<last-page>*</last-page>"
          Replace "^c"
          Else
          PreviousWindow
          EndIf
          Else
          PreviousWindow
          EndIf
          EndLoop
          NextWindow
          CloseFile NoSave
          ClearClipboard
          Clipboard 0
          Top
          
          There is UltraEditReOn replaced by UnixReOff, Loop 0 modified to just Loop, and Key LEFT ARROW and Key RIGHT ARROW are inserted after Perl regular expression replace in file meta.txt.

          On second and more efficient macro just UltraEditReOn must be replaced by UnixReOff and Loop 0 modified to just Loop to get it working with UE v14.10.
          Best regards from an UC/UE/UES for Windows user from Austria

          81
          Advanced UserAdvanced User
          81

            Feb 18, 2016#5

            Is it possible to delete the last page tag if it is the same as first page using the same macro.
            Also what does the regex "[^r^n^t ]+" do?

            6,681583
            Grand MasterGrand Master
            6,681583

              Feb 18, 2016#6

              don_bradman wrote:Is it possible to delete the last page tag if it is the same as first page using the same macro.
              This is very easy to achieve in file to modify as the Perl regexp engine supports back-referencing also in search string while UltraEdit/Unix regexp engine supports that only in replace string.

              Therefore you just have to append to the macros I posted above below final Top following two lines:

              Code: Select all

              Find MatchCase RegExp "<first-page>(\d+)</first-page>\r\n<last-page>\1</last-page>"
              Replace All "<first-page>\1</first-page>"
              All last-page elements are removed having same number as first-page in the line above.
              don_bradman wrote:Also what does the regex "[^r^n^t ]+" do?
              The Perl regexp syntax has \s to match any whitespace character. See chapter Whitespaces on post Remove / delete blank and empty lines for details about the term whitespace character.

              The UltraEdit regular expression engine has no special character sequence being interpreted as any whitespace character like Perl. So I have used [^r^n^t ]+ to find a carriage return OR a line-feed OR a horizontal tab OR a space character 1 or more times to match trailing spaces/tabs, line terminating characters, leading spaces/tabs between end tag of element first-page and start tag of element last-page. Other whitespace characters are not allowed in XML files between tags at all.

              Do you have recognized the button Help already in Find / Replace / Find in Files / Replace in Files? This button opens the appropriate help page as also pressing key F1 does in those dialogs (and others as well even with no help button). There are ^r ^n ^t listed with explanation and the linked page Regular Expressions (Legacy) explains the meaning of [...] (character set) and + (multiplier for 1 or more times).

              In UE v22.20.0.49 there is also a button with a magnifying glass above find and replace edit field being only enabled if the regular expressions option is enabled and showing as tool tip Regular Expression Builder when mouse pointer is positioned over this button. Clicking on this button results in displaying a list of special characters and character sequences which are suitable for the find or replace string according to selected regexp engine. Clicking on an item in the list inserts the appropriate regexp code into find/replace edit field at current position of the caret. For UltraEdit/Unix the displayed lists contain really all codes supported by those two regexp engines. For Perl regexp engine the lists are limited to most often needed codes. All codes supported by Perl would not fit on screen even when it is an UHD screen and a small font size is used.
              Best regards from an UC/UE/UES for Windows user from Austria