Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would I use XML for
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01147567
Message ID:
01148036
Views:
17
You're right - it is over hyped - but it soes provide a text file structure that accomodates hierarchial multi-table data structures in a single file.

I like it because [sometimes] it is easier to parse (takes fewer lines of code) string segments associated with an element tag that it with string searches and substring functions. It'slso a great way to send a bunch of data to a server in an HTTP request header - URLs have limitations.

Just use it when you need it. And it's easy to figure out should a project call for it. Especially knowing we can dissect it using the VFP command window.

>I use XML some, but don't have a big call for it right now. I think, like lots of technology, it's over-hyped. Yes, it does have advantages and is used a good bit, but some people act like it's the be-all and end-all data format. That's just not true. Also, they always seem to forget to tell you that you can't just automatically parse and use the XML you get. You can get some screwed up XML at times! The tools in VFP can't process all XML and there's really no tool that I know of that can just figure out any old XML someone wants to send. I've got one client that sends some really screwed up XML (coming out of .NET) that is badly structured and contains a bunch of stuff that is unnecessary, but they don't care because it's XML. Anybody should be able to process that, right? Well I do process it, but they make it unnecessarily painful. Like everything else, it takes some effort to do it right, and like everything else there are plenty of people who don't make the effort. The
>problem is that they can get away with it more in XML because it's "universal" and it's text (meaning there's no intrinsic structure) and it has this magic aura around it where people assume that just because it's XML it should be no problem to parse it. I'll keep using it, probably more and more, but I do get tired of the "once it's in XML, anybody should be able to parse it with no problem" attitude that some people have.
>
>Russell Campbell
>
>
>>Ok
>>
>>I put my hands up and say that whilst I know little about the subject I have heard a lot about XML and listened to some of its proponents saying great things about it
>>
>>So my curiousity at this stage is to learn what VFP developers are using it for ie what sort of applications are they building which are using XML and what benefits they see from using XML over more traditional techniques
>>
>>Any information would be greatly welcomed
>>
>>Thanks
>>
>>Colin Northway
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform