for SGXML