Hi,

I am new to java, I am working on Byte Array concepts. My task is to read an xml file and binary file ( byte array file) and need to map the tags in the xml with the bits in the byte array file.

Here is the sample xml code.
<?xml version="1.0" encoding="UTF-8"?>
<Person>
<TableEntry>
<Type>i4</Type>
<BitSize>32</BitSize>
<Columnname>Col1</Columnname>
<Datatype>Float</Datatype>
</TableEntry>
</Person>

Now I am having a Byte array which will have the values to this tags.

So BitSize in this xml will give the no of bits the value is having, that is resided in the byte array.

I need to map the value to the column BitSize in a Buffer.

Any body please help me on this..
Thanks in Advance..