001    package railo.runtime.functions.xml;
002    
003    import org.w3c.dom.Node;
004    
005    import railo.runtime.PageContext;
006    import railo.runtime.ext.function.Function;
007    import railo.runtime.text.xml.XMLUtil;
008    
009    /**
010     * 
011     */
012    public final class XmlGetNodeType implements Function {
013    
014            public static String call(PageContext pc, Node node) {
015                return XMLUtil.getTypeAsString(node,false);
016            }
017    }