XSLT copy element from one xml to other xml if some element matches
问题 I have following xml's: notifications-source-path.xml <?xml version="1.0" encoding="UTF-8"?> <Notifications> <Notification> <NotifId>1</NotifId> <MsgText> <![CDATA[notif 1]]> </MsgText> </Notification> <Notification> <NotifId>2</NotifId> <MsgText> <![CDATA[notif 2]]> </MsgText> </Notification> </Notifications> and notifications.xml <?xml version="1.0" encoding="UTF-8"?> <Notifications> <BatchId>1123213333</BatchId> <Notification> <NotifId>1</NotifId> <EmailNotification> <SenderAddress>abc@def