[Home] [By Thread] [By Date] [Recent Entries]
See the contrived example below
I can't seem to get this one (step 2 only) For the <Heading> element, I need to (1) remove its content; (2) Keep its attributes and add the attributes [both will vary greatly in name and number] from <SubDiv1> to them (3) Give it the content from <SubDiv1> I know how to do (1) and (3), and how to rename <SubDiv2> to <SubDiv1>, but step (2) above is flummoxing me. Thanks, Mark <Subject> <Heading entry="subject" location="file1">Localities</Heading> <SubDiv1 subject-type="city">Levoca</SubDiv1> <SubDiv2 pofis="1" pofis-number="234" scott="1" scott-number="143">1928. Jubilee Issue of 1928</SubDiv2> </Subject> and I want to have <Subject> <Heading entry="subject" location="file1" subject-type="city">Levoca</Heading> <SubDiv1 pofis="1" pofis-number="234" scott="1" scott-number="143">1928. Jubilee Issue of 1928</SubDiv1> </Subject>
|

Cart



