[Destiny] - What do the hit-marker numbers represent?

Can someone confirm what the numbers represent that appear after hitting an enemy with each bullet/attack?

Is that the HP it’s displaying that is coming off the enemy’s health bar or is that XP going towards my level?

White numbers represent damage dealt, while yellow numbers are for critical hits dealt.

thats damage you do to their base HP xp earn will be at the bottom beside the green bar

This is a perfect explanation!
…same as Borderlands system.