Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating proper formats
Message
From
15/11/2004 22:11:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Creating proper formats
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
00961612
Message ID:
00961612
Views:
39
I'm trying to "word process" an xml string to put it in the right format for xmltocursor to work. I need to insert an endtag to close the data as in

for i = 1 to len(mystr)
teststr = substr(mystr,i,15)
if left(teststr,10)=""
mystr = stuff(mystr,i+20,0,"
")
endif
next

The problem is this loop takes hours to run. Can anyone suggest a simpler and faster way to do this?

Thanks for all suggestions.
Reply
Map
View

Click here to load this message in the networking platform