String xml          = generateCreateLinkXML(linkType, toParentId, children, index);
String xml          = generateCreateLinkXML(linkType, toParentId, children, index, parentIds);
	private static Boolean doLinkRequest(			String linkType,			MatrixTreeNode[] children,			MatrixTreeNode parent,			int index) throws IOException {		// Cue tree defined a move to an unexpaned folder as index -1		// so convert this to 0 for matrix		if (index == -1)			index = 0;		String toParentId   = MatrixToolkit.rawUrlEncode(parent.getAsset().getId(), true);		String xml          = generateCreateLinkXML(linkType, toParentId, children, index);		Document response   = Matrix.doRequest(xml);		NodeList childNodes = response.getDocumentElement().getChildNodes();		String url = null;		Boolean refresh = Boolean.FALSE;		for (int i = 0; i < childNodes.getLength(); i++) {			if (!(childNodes.item(i) instanceof Element))				continue;			Element element = (Element) childNodes.item(i);			if (element.getTagName().equals("url")) {				url = element.getFirstChild().getNodeValue();			} else if (element.getTagName().equals("success")) {				refresh = Boolean.TRUE;			}		}		// if there was a url, we need to start a hipo to move the nodes		// there were not on the same branch		if (url != null)			AssetMap.openWindow(url, "");		return refresh;	}