Effect of exogenous and endogenous factors on xylogenesis