From: Mike C. <tu...@gm...> - 2008-12-09 16:44:58
|
On Tue, Dec 9, 2008 at 9:24 AM, Angel Pizarro <an...@ma...> wrote: > I never understood the need for the index attr. XML is ordered. If you read > in a mzML file, then the 5th spectrum will always be index = 4 and the xpath > will always be /mzML/run/spectrumList/spectrum[4] > Serializing this then requires that you place this same element in the same > position, or else you are not follwoing the XML spec. My thought was that it is present for the same reason that the spectrum index is present--that is, it's redundant information somehow meant to ease use of the file. If it's not so described already, it would be nice if the documentation indicated which elements, attributes, etc., are redundant, just to save readers a lot of time wondering "why is this here?". |