From: Nicolas Le n. <le...@eb...> - 2009-04-06 05:11:07
|
Ion noted that inserting XML is not elegant at the moment since the XPath of target identifies the piece of XML to replace. Inserting a species in SBML means replacing the whole listOfSpecies. One easy solution would be to add an attribute changeType, that could take two values: "insertion" and "replacement" (note that deletion is a replacement by nothing). changeType="insertion" means insert the "newXML" at the address specified by the target attribute. changeType="replacement" means replace the "newXML" at the address specified by the target attribute. -- Nicolas LE NOVERE, Computational Neurobiology, EMBL-EBI, Wellcome-Trust Genome Campus, Hinxton CB101SD UK, Mob:+447833147074, Tel:+441223494521 Fax:468,Skype:n.lenovere,AIM:nlenovere,MSN:nle...@ho...(NOT email) http://www.ebi.ac.uk/~lenov/, http://www.ebi.ac.uk/compneur/ |