Hi,
I need to store xml file in blob field of a table
i have 1 xml file containing multiple order and i need to subtract every order and store in table in different records (1 record per order)
This code is not working, can you help
CREATE(DomDoc,TRUE,TRUE);
CREATE(DomDoc2,TRUE,TRUE);
DomDoc.load(FileName);
OrderList := DomDoc.selectNodes('orders/order');
WHILE( i < OrderList.length()) DO BEGIN
OrderNode := OrderList.item(i);
CLEAR(InStr);
CLEAR(DomDoc2);
CREATE(DomDoc2,FALSE,TRUE);
BlobField.CREATEINSTREAM(InStr);
DomDoc2.appendChild(OrderNode);
DomDoc2.save(InStr);
END;
Ajay Jain
UK
0