<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 26, 2014 at 6:42 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why only the first cylinder?<br></blockquote><div><br></div><div>That is what we currently support in importing CSV logs. What would be a sensible maximum amount of cylinders? This needs to be a fixed value so all the exported dives have the same amount of fields...or we could have a single field for cylinders that needs to be separately parsed and would probably cause quite a bit of confusion.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
PS: and you may want to change your alias for the mailing list... you're<br>
still sending to the old domain... I don't expect that one to go away,<br>
like, ever, but I figured I should mention it :-)<br></blockquote><div><br></div><div>I don't have anything that fancy, it is my bash history :D<br><br>miika <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5"><br>
On Fri, Dec 26, 2014 at 04:11:34PM +0200, Miika Turkia wrote:<br>
> Signed-off-by: Miika Turkia <<a href="mailto:miika.turkia@gmail.com">miika.turkia@gmail.com</a>><br>
> ---<br>
>  xslt/xml2manualcsv.xslt | 4 ++--<br>
>  1 file changed, 2 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt<br>
> index b549e95..bf7fb30 100644<br>
> --- a/xslt/xml2manualcsv.xslt<br>
> +++ b/xslt/xml2manualcsv.xslt<br>
> @@ -38,8 +38,8 @@<br>
>        </xsl:otherwise><br>
>      </xsl:choose><br>
>      <xsl:choose><br>
> -      <xsl:when test="cylinder/@start|cylinder/@end != ''"><br>
> -        <xsl:apply-templates select="cylinder"/><br>
> +      <xsl:when test="cylinder[1]/@start|cylinder[1]/@end != ''"><br>
> +        <xsl:apply-templates select="cylinder[1]"/><br>
>        </xsl:when><br>
>        <xsl:otherwise><br>
>          <xsl:value-of select="$fs"/><br>
> --<br>
> 1.9.1<br>
><br>
</div></div>> _______________________________________________<br>
> subsurface mailing list<br>
> <a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
> <a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div><br></div></div>