<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">I go the weights to show for me by using node() along with the node-set. I am a bit puzzled by this as I haven't seen similar syntax anywhere on the web, but if that is the way to do it and it works for others as well... Can you also test the patch that I just sent?<br><br></div><div class="gmail_quote">For the export, it is good to follow the specifications as closely as possible (and here I refer to both written specs and the xml schema). However, for the import we need to be quite lax as I think every single application produces different UDDF output - at least that is my take from the sample files I have received.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">miika<br></div><div class="gmail_quote"><br>On Sun, Dec 14, 2014 at 1:37 AM, Long, Martin <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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'll look into this. The weight at the end was removed intentionally.<br>
I admit I'm not entirely sure what happened here. I think it was when<br>
I added the correct namespace this stopped working, and removing<br>
weight made it work for me. I'll investigate this further tonight.<br>
<br>
Btw, weights are now in the informationafterdive. This is an area of<br>
contradiction between the spec and the schema. I think 'after' makes<br>
slightly more sense, as you may add/remove weights at the start of the<br>
dive. Anyway, I need to clarify that.<br>
<div class="HOEnZb"><div class="h5"><br>
On 13 December 2014 at 19:59, Miika Turkia <<a href="mailto:miika.turkia@gmail.com">miika.turkia@gmail.com</a>> wrote:<br>
> On Sat, Dec 13, 2014 at 2:34 AM, Martin Long <<a href="mailto:martin@longhome.co.uk">martin@longhome.co.uk</a>> wrote:<br>
>><br>
>> -          <leadquantity><br>
>> -            <xsl:value-of<br>
>> select="sum(xt:node-set($trimmedweightlist)/weight)"/><br>
>> -          </leadquantity><br>
><br>
> ...<br>
>><br>
>> +          <leadquantity><br>
>> +            <xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/><br>
>> +          </leadquantity><br>
><br>
><br>
> I am testing the UDDF export and don't see any weights exported. Was the<br>
> "/weight" removed here intentionally when moving the code around? Adding<br>
> that to the XSLT does not solve the problem. So do you have any idea of what<br>
> is wrong here?<br>
><br>
> miika<br>
</div></div></blockquote></div><br></div></div>