Re: Looking for the correct way I should be reading a XML file.
Thanks for the help guys. For this file I don't think XML-INTO is going to cut it. From all of the recommendations I've been given and the examples I have looked at I am beginning to think I will have to load the entire work order to get what I need. I've been told to expect thousands of Prospectuses per work order, so I will potentially be blowing out the data structures. I'm only receiving the files and I don't have any say into how they are built. Since I'm on a short time scale to get something working, I've taught a coworker how to read the file off the IFS and he is writing a program to scan for the tags and parse it that way. This would be a temporary fix until we can get a real parser working. I'll most likely look into trying XML-SAX to do this.
Thanks for the help guys. For this file I don't think XML-INTO is going to cut it. From all of the recommendations I've been given and the examples I have looked at I am beginning to think I will have to load the entire work order to get what I need. I've been told to expect thousands of Prospectuses per work order, so I will potentially be blowing out the data structures. I'm only receiving the files and I don't have any say into how they are built. Since I'm on a short time scale to get something working, I've taught a coworker how to read the file off the IFS and he is writing a program to scan for the tags and parse it that way. This would be a temporary fix until we can get a real parser working. I'll most likely look into trying XML-SAX to do this.
Comment