> I'm sorry to say although I have inserted those two lines as below, > the error is so. But I have found an interesting things, if remove > the attribute xsi:type=\"xsd:int\" of buffer, that's OK! Interesting! It sounds like Libxml2 uses xsi:type to do something with the node content. Can you parse this file at all? Aleksey