<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 13, 2014 at 2:34 AM, Martin Long <span dir="ltr"><<a href="mailto:martin@longhome.co.uk" target="_blank">martin@longhome.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">XPath was incorrect for parsing divecomputers into the equipment<br>
section, meaning they dont get inserted.<span class=""></span></blockquote><div><br></div><div>Can you elaborate on this one as on my divelog all the dive computers are listed on the settings section and the original code worked with that properly. The sample dives are incorrect in this regard, but when you open them in Subsurface and save to new file, they get the stored in the settings section (and this is the state that is used when exporting from Subsurface).<br><br>Dirk, shouldn't all the DCs be always listed in the settings section so that we don't need to parse the whole file to get a list of them?<br><br></div><div>Of course, your way of grabbing the divecomputers from all the dives works as well, but it is faster to just grab them from the settings section (unless I am really missing something and not all DCs are available from there).<br><br>miika<br></div><div><br><br></div></div></div></div>