diff --git a/vcell-core/src/main/java/cbit/vcell/xml/XmlHelper.java b/vcell-core/src/main/java/cbit/vcell/xml/XmlHelper.java index 39e45160ce..f0e906f48f 100644 --- a/vcell-core/src/main/java/cbit/vcell/xml/XmlHelper.java +++ b/vcell-core/src/main/java/cbit/vcell/xml/XmlHelper.java @@ -1259,11 +1259,12 @@ public static SimulationTask XMLToSimTask(String xmlString) throws XmlParseExcep } public static String getXPathForListOfSpecies() { - return "/vcml:vcml/vcml:model/vcml:listOfSpecies"; +// return "/vcml:vcml/vcml:model/vcml:listOfSpecies"; + return "/vcml:vcml/vcml:BioModel/vcml:Model"; } public static String getXPathForSpecies(String speciesID) { - return getXPathForListOfSpecies() + "/vcml:species[@id='" + speciesID + "']"; + return getXPathForListOfSpecies() + "/vcml:LocalizedCompound[@Name='" + speciesID + "']"; } //public static String exportSedML(VCDocument vcDoc, int level, int version, String file) throws XmlParseException {