You know after I posted this I thought to myself that an xml schema is
just plain xml like anything else. I could use xquery couldn't ?!

Thanks for you post.