Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing XML?
Message
 
 
To
17/07/2009 16:30:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01413099
Message ID:
01413101
Views:
77
>I've got an issue with a file being submitted to the FL department of revenue. The file is for quarterly SUTA reporting and is being generated by an accounting package. The problem is, they are telling me it contains duplicate employees. They say they are unable to tell be which ones are duplicated. The file has over six hundred employees in their funky XML format. They suggested I open the file in note pad to find the duplicates. Is there a way for me to move the contents of this file to a table to make sure I find all the duplicates? Each record in the file is 1024 characters long and there doesn't appear to be a carriage return at the end of each line. The example below is for one employee.
>
>
><Employee><SSN>000000021</SSN><Employee><FirstName>Foster</FirstName><MiddleName></MiddleName><LastName>Grant</LastName><Suffix></Suffix></Employee><TotalWages>0.00</TotalWages><TaxableWages>0.00</TaxableWages><OutOfStateWages><TotalWages>0.00</TotalWages><TaxableWages>0.00</TaxableWages><TaxState>XX</TaxState></OutOfStateWages></Employee>
>
>
>
>TIA
>Jeff

Look at XMLToCursor function in Help.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform