FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Como leer Xml
Posts: 199
Joined: Fri Apr 18, 2008 04:21 PM
Como leer Xml
Posted: Wed May 11, 2011 12:56 AM

Hola a todos

como leer esta estructura
<?xml version="1.0" encoding="UTF-8" ?>
- <DTE xsi:noNamespaceSchemaLocation="http://www.mysuitemex.com/fact/schema/gt/DTEgt.xsd" xmlns:gs1="urn:ean.ucc:pay:2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <Documento Id="ID_9999">
- <gs1:invoice documentStatus="ORIGINAL" creationDateTime="2011-05-10T17:27:21">
- <documentStructureVersion>
<versionIdentification>9999</versionIdentification>
</documentStructureVersion>
- <invoiceIdentification>
<uniqueCreatorIdentification>FCAE|20105202221|FEA|318</uniqueCreatorIdentification>
- <contentOwner>
<gln>0000000000000</gln>
</contentOwner>
</invoiceIdentification>
- <invoiceCurrency>
<currencyISOCode>GTQ</currencyISOCode>
</invoiceCurrency>
<invoiceType>INVOICE</invoiceType>
- <buyer>
+ <nameAndAddress>
<city>Guatemala</city>
- <countryCode>
<countryISOCode>GT</countryISOCode>
</countryCode>
- <languageOfTheParty>
<languageISOCode>es</languageISOCode>
</languageOfTheParty>
<name>EDDY FRANCISCO XIQUIN PIRIR</name>
<postalCode>00000</postalCode>
<state>Guatemala</state>
<streetAddressOne>GUATEMALA</streetAddressOne>
</nameAndAddress>
<companyRegistrationNumber>000009482245</companyRegistrationNumber>
</buyer>
- <seller>
- <partyIdentification>
<gln>0000000000000</gln>
- <additionalPartyIdentification>
<additionalPartyIdentificationValue>Cliente de Prueba</additionalPartyIdentificationValue>
<additionalPartyIdentificationType>FOR_INTERNAL_USE_1</additionalPartyIdentificationType>
</additionalPartyIdentification>
- <additionalPartyIdentification>
<additionalPartyIdentificationValue>001</additionalPartyIdentificationValue>
<additionalPartyIdentificationType>FOR_INTERNAL_USE_2</additionalPartyIdentificationType>
</additionalPartyIdentification>
</partyIdentification>
- <nameAndAddress>
<city>Guatemala</city>
- <countryCode>
<countryISOCode>GT</countryISOCode>
</countryCode>
- <languageOfTheParty>
<languageISOCode>es</languageISOCode>
</languageOfTheParty>
<name>Sucursal1</name>
<postalCode>00000</postalCode>
<state>Guatemala</state>
<streetAddressOne>Direccion de Prueba</streetAddressOne>
</nameAndAddress>
<companyRegistrationNumber>000000123456</companyRegistrationNumber>
</seller>

Atentamente
Julio Ponce

Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: Como leer Xml
Posted: Wed May 11, 2011 03:28 AM

jponce,

Busca los mensajes de TheFull y encontraras sus aportaciones para XML

William, Morales

Saludos



méxico.sureste

Continue the discussion