1
Vote

Import doesn't find any pictures

description

I've stepped thru the code a bunch of times & I can't figure out what is wrong with the GetFiles routine that is being called from ImportPhotoAttachments.

In the INDI node, there is an OBJE element:
<OBJE Value="@M913@" />

Deeper in the XML the OBJE:
<OBJE Value="@M913@">
<FILE Value="C:\User\Pix\pixname.jpg">
  <TITL Value="People in pix" />
  <DATE Value="abt 1964" />
  <TEXT Value="Christmas in NJ">
  </TEXT>
</FILE>
</OBJE>

GetFiles() gets passed the correct node
files var gets set to 1 element, the node passed to GetValue is the OBJE element but it's Value is null. The actual @M913@ appears in the OuterXML. Help!! I am stuck!

Thanks,
Lee

comments