[PATCH 6/7] Lots of minor UDDF export tweaks.

Long, Martin martin at longhome.co.uk
Sat Dec 13 15:37:27 PST 2014


I'll look into this. The weight at the end was removed intentionally.
I admit I'm not entirely sure what happened here. I think it was when
I added the correct namespace this stopped working, and removing
weight made it work for me. I'll investigate this further tonight.

Btw, weights are now in the informationafterdive. This is an area of
contradiction between the spec and the schema. I think 'after' makes
slightly more sense, as you may add/remove weights at the start of the
dive. Anyway, I need to clarify that.

On 13 December 2014 at 19:59, Miika Turkia <miika.turkia at gmail.com> wrote:
> On Sat, Dec 13, 2014 at 2:34 AM, Martin Long <martin at longhome.co.uk> wrote:
>>
>> -          <leadquantity>
>> -            <xsl:value-of
>> select="sum(xt:node-set($trimmedweightlist)/weight)"/>
>> -          </leadquantity>
>
> ...
>>
>> +          <leadquantity>
>> +            <xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/>
>> +          </leadquantity>
>
>
> I am testing the UDDF export and don't see any weights exported. Was the
> "/weight" removed here intentionally when moving the code around? Adding
> that to the XSLT does not solve the problem. So do you have any idea of what
> is wrong here?
>
> miika


More information about the subsurface mailing list