Hi,
Thank you for your reply.
I use the following code to test my import:-
ITLog.Reset();
IF ITLog.Get(EntryNo) then
ITLog.CalcFields(XMLfile);
ITLog."XMLFile".CREATEINSTREAM(PJInstream);
testBigtext.Read(PJInstream);
ImportPJXMLport.SetSource(PJInstream);
ImportPJXMLport.Import();
testBigtext.Read(PJInstream);>>> testBigtext variable shows 'Invoice,1'. My XML schema is also in the same order.

Unable to identify where I am wrong.
Thanks again.