<Entry>
<Tag>0x2</Tag>
<Type>7</Type>
<Size>0x4</Size>
<Value> 0x30 0x31 0x30 0x30</Value>
</Entry>
</IFD>
<IFD name="IFD1">
<Count>0x6</Count>
<Entry>
<Tag>0x103</Tag>
<Type>3</Type>
<Size>0x1</Size>
<Value>0x0006</Value>
</Entry>
…
</IFD>
</TIFFHeader>
</ExifAPP1>
有了这个XML就可以很方便地进行下一步处理了,比如用下面这个XSL文件对上面这个XML进行转换: