ClientDataSet XML

Hi,

I'm using a ClientDataSet that writes data to a XML file.

1) Having a FieldDef set to ftAutoInc does not do what I expect, how do I
get that field to auto increment? With code only?
2) How can I create a join using two ClientDataSets? ie using 2 XML files
and return the joined result into a grid?

Thanks in advance,
    Tjaart tjaa...@telkomsa.net