XML for Tables Realted using PK & FK

Hi,
I do have 2 tables DEPT & EMP where
Dept (Deptid is PK, Deptname, loc)
Emp ( Empid is PK, Ename, Deptid is FK & references Dept table's Deptid)
Do enlighten on how to write xml code / file for t he above related tables.
Thnx in Advance
[292 byte] By [vaishjan] at [2007-11-19 11:45:45]