Learning Spring

Hello, I want to learn Spring framework to improve my CV and get a job as a java programmer. My friend told me that I should learn only new ways of using it (not using XML), but I’m worried that questions about old stuff might happen during job interview. What do you think?

FCC does not cover Java/Spring.
Javscript, yes. But not Java.

Just learn the new way, and if your interviewer ask, just tell him i only family with the new way, and there is no big difference between old and new, and maybe i need a few hours to get familiar with xml config.
I think no one would ask you why you are now OK with the xml config

Thank you very much.