 |
 |
 |
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>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@l...>
--~--
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |