Generic XML Tips : Substring to Extract Month from Date Field
Created By: Joan Kolarik
Created on: 2/08/2020
Please send suggestions and improvements to joan.kolarik@weizmann.ac.il
rule "month to local2"
when
exist "//*[local-name()='dateOther']"
then
copy "substring(//*[local-name()='dateOther']/text(),6,2)" to "discovery"."local2"
end
Return to Contents Page for Generic XML Tips