|
-
November 15th, 2004, 05:09 PM
#1
Strings to Objects
I am working with XML and have a problem. How do you convert an a string into an object?
What I have done is get the object tag (which tells me what object it is), and map it to a function (which takes an XML string containing the construction values) which then constructs the object. I have a table of string names and function pointers to call when it finds a match.
Is there a better way to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|