From my point of view, EDX is useful just to perform simple and rough elementar chemical analysis. As mentioend before, the % of error is a critical drawback. I reccomend you to search for XPS analysis. Then, you have a characterization technique that will provide elementar composition, molecular information (oxides, nitrides, etc) with a suitable precision for quantification.