Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract PDF from XML
Message
 
À
16/11/2022 06:37:32
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01685345
Message ID:
01685346
Vues:
55
Hi,

Because you don't write more...
LOCAL m.lcData, m.liES, m.liEE, m.lcES, m.lcEE
m.lcES="<pdfstart>"
m.lcEE="</pdfstart>"

m.lcData=FILETOSTR("any.xml")
m.liES=AT(m.lcES, m.lcData)
m.liEE=AT(m.lcEE, m.lcData)

m.lcPDFDATA=SUBSTR(m.lcData, m.liES+LEN(m.lcES), m.liEE-m.liSE-LEN(m.lcES)-1)

?m.lcPDFDATA && data can be encode base64 or hex 
MartinaJ

>How can I extract PDF file which is integrated in XML as a attachment tag? (Note VFP6)
>
>Thanks in advance.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform