System.out.println(XPath);
	public List<String> getFilesForViewRight(String _right) {		List<String> list = new LinkedList<String>();		String XPath = "/fotos/foto[true ";		if (_right.indexOf("|") > 0) {			StringTokenizer st = new StringTokenizer(_right, "|");			while (st.hasMoreTokens()) {				XPath += " or @view='" + st.nextToken() + "'";			}			XPath += "]";		} else {			XPath = "/fotos/foto[@view='" + _right + "']";		}		System.out.println(XPath);		NodeList nodelist;		try {			nodelist = XmlHelper.getNodeList(doc, XPath);			for (int i=0;i<nodelist.getLength();i++) {				Node node = nodelist.item(i);				String filename = node.getAttributes().getNamedItem("path").getNodeValue();				list.add(filename);			}		} catch (XPathExpressionException e) {			// TODO Auto-generated catch block			e.printStackTrace();		}		return list;	}