public Element appendTextNodeToChild( Document doc, Element root, String name, String value )
			throws ServiceException {
		NodeList nl = root.getElementsByTagName( name );
		if( nl == null || nl.getLength() == 0 ) {
			String msg = LocaleUtils.encodeMessage( "csCoSignNotConfigProperly", null );
			SystemUtils.error( null, msg );
		}
		Node n = nl.item( 0 );
		Text t = doc.createTextNode( value );
		n.appendChild( t );
		return root;
	}