Bonjour les pros du XML
J'ai besoin de vos lumieres.
Je développe un programme qui à pour base Microsoft Access. et j'utilise la
commande exportXML.
Cela semblait tourner nickel seulement voila, l'application avec laquelle je
veux communiquer ne reconnait pas mon fichier et m'impose un format que je
n'arrive pas à générer.
Pour être plus clair, voici ce que génére Access :
<file:///C:/florayad/Commandes.xml#> - <dataroot
xmlns:od="urn:schemas-microsoft-com:officedata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="CommandesSchem.xml"
generated="2005-09-12T16:01:58">
<file:///C:/florayad/Commandes.xml#> - <Commandes>
<Numéro>264</Numéro>
<CustomerID>100017</CustomerID>
<ContactID>005</ContactID>
<OrderDate>2005-07-14T00:00:00</OrderDate>
<DeliveryDate>2005-08-13T00:00:00</DeliveryDate>
<CustomerOrderNumber>BC00028</CustomerOrderNumber>
<CustomerOrderLine>BC00028</CustomerOrderLine>
<Quantity>1</Quantity>
<UnitPrice>235</UnitPrice>
<InvoiceCustomerID>100017</InvoiceCustomerID>
<CustomerProduct>CHAOR42</CustomerProduct>
<CustomerProductName>Chaînes mailles fines</CustomerProductName>
<Text_01>1E</Text_01>
<Text_02>FC+2P+VS</Text_02>
<Text_03>/INSERT:</Text_03>
<Text_09>1111</Text_09>
<Text_14>RED</Text_14>
<Text_15>BLACK</Text_15>
<Text_16>1000</Text_16>
<Text_32>Y</Text_32>
<Text_34>Y</Text_34>
<Text_37>Y</Text_37>
<UnitPrice2>0</UnitPrice2>
</Commandes>
Et voila ce qu'attend mon application :
<file:///C:/Documents%20and%20Settings/yves/Bureau/floramedia/14234.xml#> -
<rs:data>
<z:row CustomerID="102355" ContactID="008" OrderDate="2005-07-19T00:00:00"
InvoiceCustomerID="102355" CustomerOrderNumber="14234"
CustomerOrderLine="EB14493" CustomerProduct="FGHLM006"
CustomerProductName="Molli" Quantity="7500"
DeliveryDate="2005-08-05T00:00:00" Text_30="" Text_03="/RUBBER:"
Text_01="FCUV" Text_02="ZUV" Text_29="04PP" Text_05="" Text_06="" Text_07=""
Text_08="" Text_09="3105" Text_21="" Text_31="J" Text_32="J" Text_16="50"
UnitPrice="24.78" LineComment2="Helmers Baumschulen"
DeliveryLocationName="Helmers Baumschulen" DeliveryLocationDepartment=""
DeliveryLocationStreet="Grüne Str. 9" DeliveryLocationCity="26655
Westerstede" DeliveryLocationCountry="DE" DeliveryContactFirstName=""
DeliveryContactLastName="" DeliveryContactTitle="4"
DeliveryContactLanguage="5" Text_14="" Text_15="" />
</rs:data>
</xml>
On m'a conseillé de créer une feuille xsl mais le probleme : d'abord je
maitrise mal le truc et ensuite, impossible de mettre le caractere ":" dans
la feuille de style !
En clair je suis completement paumé, merci de votre aide
Yves
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Received on Mon Sep 12 16:13:18 2005