<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems with IXMLPropertySet SetPropertyX in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423990#M11448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have service pack 3 installed?&amp;nbsp; In my research I saw many fixes related to metadata in SP3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 19:10:26 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2011-11-04T19:10:26Z</dc:date>
    <item>
      <title>Problems with IXMLPropertySet SetPropertyX</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423989#M11447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to update some ArcGIS 10 metadata in files that have had their metadata upgraded from ArcGIS 9 FGDC metadata. Most things seem to work fine, but if I try the code bellow it will only work if the tags exist already:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;pXMLProps.SetPropertyX( _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dataIdInfo/resConst/LegConsts/othConsts[../accessConsts/RestrictCd/@value='008']", _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strAccess, esriXPTText, esriXSPAAddOrReplace, False)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a few other tags that use similar Xpaths and they are broken too, but all the tags with a straight forward tag work fine even when they aren't already present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice on how to resolve or work around this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 15:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423989#M11447</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2011-11-04T15:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with IXMLPropertySet SetPropertyX</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423990#M11448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have service pack 3 installed?&amp;nbsp; In my research I saw many fixes related to metadata in SP3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423990#M11448</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2011-11-04T19:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with IXMLPropertySet SetPropertyX</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423991#M11449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I have service pack 3 installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue only affects tags where there is a "partner" code value, which in the tags we are intrested in includes Originator, Publisher, and points of contact.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 08:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423991#M11449</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2011-11-07T08:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with IXMLPropertySet SetPropertyX</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423992#M11450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While the code above still fails to work if the tags are missing, I have managed to resolve why the tags are missing!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The upgrade metadata tool at service pack 3 is creating incomplete metadata, going back to service pack 2 and using the upgrade metadata tool creates all the tags we need correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 07:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problems-with-ixmlpropertyset-setpropertyx/m-p/423992#M11450</guid>
      <dc:creator>AndrewEgleton</dc:creator>
      <dc:date>2011-11-11T07:38:48Z</dc:date>
    </item>
  </channel>
</rss>

