path=path.replace("\\","/");
path=path.replace('\\','/');
    public boolean allowSourceXQuery(String path)    {    	if(allowSourceXQueryList != null)    	{    		//Iterate through the xqueries that source viewing is allowed for        	for(int i = 0; i < allowSourceXQueryList.length; i++)        	{                        // DWES: this helps a lot. quickfix not the final solution                        path=path.replace("\\","/");                                		//does the path match the <allow-source><xquery path=""/></allow-source> path        		if((allowSourceXQueryList[i].equals(path)) || (path.indexOf(allowSourceXQueryList[i]) > -1))        		{        			//yes, return true        			return(true);        		}        	}    	}    	return(false);    }