Yes Once XP is activated shut down and install the New additional memory in the normal way (anti-staic procedures)
Then re start should be AOK!!
Microsoft allows up to three Hardware changes in bettewen activatons
do not seek re-activation unless promted and in any event remember the 30 days that you have to seek activation???
Roger