Hi Alexander.

Thanks for the examples. I will study them later and compare with my usage in 
my code.

> 
> Your example
> 
>> : (car Cells-References)
>> -> (gnm:Cell ((Row . "0") (Col . "0") (ValueType . "60")) "Ticker")
> 
> cannot be a proper XML result, because we have never a list like
> (gnm:Cell ...) in the CAR.
> 

Then we have a problem:
"
<gnm:Cells>
 <gnm:Cell Row="0" Col="0" ValueType="60">Ticker</gnm:Cell>
 <gnm:Cell Row="0" Col="1" ValueType="60">truc</gnm:Cell>
</gnm:Cells>
"
this is (part of) XML generated by gnumeric (see attached file) and read with:
(load "@lib/xm.l")
(de read-gnumeric (FN)
    (let TempName (tmp "infile")
         (let GzName (pack TempName ".gz")
              (call 'cp FN GzName)
              (call 'gunzip GzName))
         (in TempName (xml?) (xml))))

resulting in this:
"
(gnm:Cells
 NIL
 (gnm:Cell ((Row . "0") (Col . "0") (ValueType . "60")) "Ticker")
 (gnm:Cell ((Row . "0") (Col . "1") (ValueType . "60")) "truc"))
"

> 
> Thank you very much that you found this bug!
> 
Happy to help! :-)

Laurent.

Attachment: Test.gnumeric
Description: application/gnumeric

Reply via email to