-
October 22nd, 2013, 09:13 AM
#1
Reading a binary file and mapping the values in the binary file with the tags in XML
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..
Tags for this Thread
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
|