Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract PDF from XML
Message
 
To
16/11/2022 06:37:32
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01685345
Message ID:
01685346
Views:
54
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform