I just don't see how using XML internally in an app is extra work compared
to using individual attributes or another structure format.  And I don't
understand where there is any appreciable overhead.  Of course, my ignorance
could very well be bliss!

Advantages that I see:

        1.  Data for a particular object is "bundled" nicely together in a
way that is very readable
        2.  I can easily maintain before and after pictures of an object at
the client and do not have to create session variables to do so.  This way I
can also maintain cart info across expired sessions without loading the
client up with cookies or saving User data
        3.  Now that I've found out that I can validate against the schema,
I don't have to maintain basic validation rules at both the UI and Business
Object level.  Question that I am working through is how to translate
xmlValidate error responses to user friendly messages at the UI layer
        4.  I can create an object once and easily include in other
objects(e.g. Address in an Invoice).  Of course I could also do this using
includes...
        5.  I can create XML test files and quickly and easily run
regression test on all code
        6.  I am starting to like the way using xmlSpy to create schemas and
xml helps me think through how I am organizing, validating and representing
objects

Andy
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 

> Ok, I've made the decision to use XML as the format to pass 
> data between objects in my application. This approach seems 
> to have lots of advantages as opposed to using lists of 
> parameters or structures. My question now is how and why 
> use XSD's and XSL.  

What exactly are these advantages? 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217740
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to