[OH:1][C:2]1[CH:12]=[CH:11][CH:10]=[CH:9][C:3]=1[CH:4]=[CH:5][C:6]([OH:8])=[O:7].[N+](=[CH2:15])=[N-]>CCOCC.CO>[OH:1][C:2]1[CH:12]=[CH:11][CH:10]=[CH:9][C:3]=1[CH:4]=[CH:5][C:6]([O:8][CH3:15])=[O:7]To a stirred mixture of ortho-hydroxycinnamic acid (1.00 g, 6.09 mmol) in 10 mL of ether and 10 mL of methanol was added etheral diazomethane until the mixture became yellowish. The mixture was stirred at room temperature for 15 minutes, and the excess diazomethane was destroyed with the addition of acetic acid. The mixture was concentrated in vacuo and diluted with 100 mL of ethyl acetate. This ethyl acetate solution was washed with saturated sodium bicarbonate solution (3×60 mL) and brine (1×60 mL). The organic layer was dried (magnesium sulfate), filtered and concentrated in vacuo to give 1.02 g (94%) of methyl ortho-hydroxycinnamate B.