Use GlibString in DOM functions