grid report -- > xml , validate xml via xsd

as there is no macro for validating xml as per xsd, can anyone write a routine for validating xml generated via grid control as per an xsd.
(i have xsd).

regards, umax,email kunjan@canaresh.com, skype kunjan.naresh.shah