Search the web
Sign In
New User? Sign Up
JSX-ideas · Ideas on Java Serialization for XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to maintain a large set of XML files when java class changes   Message List  
Reply | Forward Message #2163 of 2204 |
Lets say for example I have:

class foo1 {
String a;
String b;
}

and I have literally hundreds of different objects of class foo1
serialised to different XML files. Now I need to modify class foo1 to
include a new attribute so its class definition is now:

class foo1 {
String a;
String b;
String c;
}

What tools/approaches can I use to modify all of my XML files to
include the new attribute 'c' with a certain value say 'newattrvalue'.
I need this tool to be fairly powerful but easy to use because we are
in a commercial environment and can add/remove complex attributes from
existing classes that are not of simple types String, int, boolean, etc.

Thanks,
Stephen




Tue Nov 28, 2006 1:11 am

skurlow
Offline Offline
Send Email Send Email

Forward
Message #2163 of 2204 |
Expand Messages Author Sort by Date

Lets say for example I have: class foo1 { String a; String b; } and I have literally hundreds of different objects of class foo1 serialised to different XML...
Stephen Kurlow
skurlow
Offline Send Email
Nov 28, 2006
1:56 am

Hi Stephen, ... You can modify XML with XSLT; tho here you may be better off doing it within the class. Both are discussed in the JSX manual: ...
egroups_yow
Offline Send Email
Nov 28, 2006
2:36 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help