src/web/js/acsimpleconfig.js
/**
 * This method encodes the text of all elements that match the XPath into Base64.
 * 
 * @param nXML The XML to search.
 * @param sXPath The XPath to use.
 * 
 * @return Nothing.
 */
This method encodes the text of all elements that match the XPath into Base64.

@param nXML The XML to search.

@return Nothing.
This method encodes the text of all elements that match the XPath into Base64 . @param nXML The XML to search . @return Nothing .
function encodePasswords(nXML, sXPath)
{
	var anNodes = nXML.selectNodes(sXPath);
	for (var iCount = 0; iCount < anNodes.length; iCount++)
	{
		if (anNodes[iCount].text != "")
		{
			anNodes[iCount].text = libPassword.encode(anNodes[iCount].text);
		}
	}
}
function encodePasswords ( nXML , sXPath ) { var anNodes = nXML . selectNodes ( sXPath ) ; for ( var iCount = 0 ; iCount < anNodes . length ; iCount ++ ) { if ( anNodes [ iCount ] . text != "" ) { anNodes [ iCount ] . text = libPassword . encode ( anNodes [ iCount ] . text ) ; } } }
This method encodes the text of all elements that match the XPath into Base64.
This method encodes the text of all elements that match the XPath into Base64 .