@Override
	public void buildDefinedIDSet(List<XMLpiece> xmlRoot, Map<String,Object> defined)
	{
		if(xmlRoot==null) return;
		for(int v=0;v<xmlRoot.size();v++)
		{
			final XMLLibrary.XMLpiece piece = xmlRoot.get(v);
			final String id = CMLib.xml().getParmValue(piece.parms,"ID");
			if((id!=null)&&(id.length()>0))
				defined.put(id.toUpperCase().trim(),piece);
			final String load = CMLib.xml().getParmValue(piece.parms,"LOAD");
			if((load!=null)&&(load.length()>0))
			{
				piece.parms.remove("LOAD");
				final CMFile file = new CMFile(load,null,CMFile.FLAG_LOGERRORS|CMFile.FLAG_FORCEALLOW);
				if(file.exists() && file.canRead())
				{
					final List<XMLpiece> addPieces=CMLib.xml().parseAllXML(file.text());
					piece.contents.addAll(addPieces);
				}
			}
			buildDefinedIDSet(piece.contents,defined);
		}
	}