[Home] [By Thread] [By Date] [Recent Entries]
Just to get you started:
- declare a key table of "Item" elements keyed by the "Shelfmark" chlid - use the identity template to copy FILE 1 - match on the "Tag" element, copy all existing attributes - use the "crawford-number" value as the lookup value in the key table of File 2 (using the third argument of the key() function) Rather than supply the written solution, that should be enough for you to figure things out in syntax. I hope this helps. . . . . . Ken At 2015-09-05 11:10 +0000, Mark Wilson pubs@xxxxxxxxxxxx wrote: I have two XML files, File 1 and File 2. They contain the XML shown below. -- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: http://plus.google.com/+GKenHolman-Crane/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
|

Cart



