Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with XML
Message
De
08/04/2009 14:53:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
01393822
Message ID:
01393835
Vues:
112
This message has been marked as the solution to the initial question of the thread.
>Hello,
>
>Can anyone tell me how I would get all the "FloodCertificationIdentifier" values from
>the XML File?? I can get the 1st one.. But cannot get subsequent ones...
>Any help would be greatly appreciated!!
>
>Thanks in advance,
>Bob
>
>
TEXT TO m.lcXML noshow
<RESPONSE_GROUP MISMOVersionID="2.4">
  <RESPONDING_PARTY />
  <RESPOND_TO_PARTY />
<RESPONSE ResponseDateTime="2009-04-07T14:06:32-05:00">
<RESPONSE_DATA>
<FLOOD_RESPONSE MISMOVersionID="2.4">
  <MORTGAGE_TERMS LenderCaseIdentifier="2009000234567" />
  <FLOOD_DETERMINATION FloodCertificationIdentifier="0904001705" />
  </FLOOD_RESPONSE>
  </RESPONSE_DATA>
<RESPONSE_DATA>
<FLOOD_RESPONSE MISMOVersionID="2.4">
  <MORTGAGE_TERMS LenderCaseIdentifier="2009000234567" />
  <FLOOD_DETERMINATION FloodCertificationIdentifier="0903017337" />
  </FLOOD_RESPONSE>
  </RESPONSE_DATA>
  <STATUS _Code="S0015" _Condition="Success" _Description="Pending list request processed" _Name="Processed" />
  </RESPONSE>
</RESPONSE_GROUP>
ENDTEXT

Local xDom  As 'MsXml2.domdocument'
xDom = Createobject('MsXml2.domdocument')
xDom.LoadXML( m.lcXML )

loSelNodes = xDom.selectNodes('.//@FloodCertificationIdentifier')
For Each loNode In loSelNodes
  ? loNode.nodeTypedValue
Endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform