Hi
I have an XML file that contains a file layout, say <fieldname> and <fieldsize>
Lets say I do my parsing in a class called FileLayout and in my main() - in another program - I do,
FileLayout fl = new FileLayout();
.
.
and then parse the file..
while parsing, I do
The nameTable and sizeTable are Vectors and in FileLayout, I have a getFieldNames that return nameTable
The problem is that unless I declare these two vectors static, the return statement returns null.
Whats going wrong here ?