Code example for Node

Methods: setTextContent

        assertXmlExists("No login-name found in template data. ", document, "/user-account/properties/login-name");
        assertXmlExists("No name found in template data. ", document, "/user-account/properties/name");
        if (loginname != null) {
            final Node loginNameNode = selectSingleNode(document, "/user-account/properties/login-name");
        if (name != null) {
            final Node nameNode = selectSingleNode(document, "/user-account/properties/name");
     * Successfully creates an UserAccount. 
     * @param templateName The name of the template. 
     * @return Returns the UserAccount document. 
Stop searching for code, let great code find you!  Add Codota to your java IDE