Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xmltocursor
Message
From
14/07/2008 17:49:28
 
 
To
14/07/2008 16:14:36
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331215
Message ID:
01331238
Views:
13
If your goal is to populate pdf form fields with data from vfp, look at the gnostice pdftoolkit. I found it to work much better for that. If you search here on the UT you should be able to find some threads explaining how I did it...



>I would like to show you what nys.xfdf looks like to determine if it
>is too complex for
>
>xmltocursor("nys.xfdf",tcnys,512).
>
>I just want to get this xml file into a vfp cursor or table.
>Then, I can programatically modify a few fields and covert it back to nys.xfdf to be displayed in adobe for viewing and printing within my vfp app.
>
>
>Another quesstion. Is there a better way of doing this?
>
>
>Here is nys.xfdf :
>
>
> <?xml version="1.0" encoding="UTF-8" ?>
>- <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
>
>  <f href="nys2025.pdf" />
>
>  <ids original="4D56C4005EEE204CBB336870670AE698" modified="39E5C241305FD74EB99F77919F7D3C74" />
>
>- <fields>
>- <field name="address">
>  <value>1 XFDF STREET FAIRFIELD, NJ 07004</value>
>  </field>
>- <field name="agent">
>  <value>123</value>
>  </field>
>- <field name="contact">
>  <value>DEB</value>
>  </field>
>- <field name="checkbox13">
>  <value>Yes</value>
>  </field>
>- <field name="transmit">
>  <value>OCS</value>
>  </field>
>- <field name="quarter">
>  <value>1</value>
>  </field>
>- <field name="text10">
>  <value>973</value>
>  </field>
>- <field name="text11">
>  <value>882</value>
>  </field>
>- <field name="text12">
>  <value>6882</value>
>  </field>
>- <field name="text24">
>  <value>1</value>
>  </field>
>- <field name="text30">
>  <value>12-3333333</value>
>  </field>
>- <field name="year">
>  <value>2008</value>
>  </field>
>- <field name="amtwt">
>  <value>666.</value>
>  </field>
>- <field name="amtui">
>  <value>555</value>
>  </field>
>- <field name="num5">
>  <value>5</value>
>  </field>
>- <field name="num6">
>  <value>6</value>
>  </field>
>- <field name="num7">
>  <value>7</value>
>  </field>
>- <field name="numcks">
>  <value>1</value>
>  </field>
>  </fields>
>  </xfdf>
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform