A brief search shows that all available (uUnix command line) tools that convert from xsd (XML Schema) to rng (RelaxNG) or rnc (compact RelaxNG) have problems of some sort.>
Another possibility might be http://www.brics.dk/schematools/, but I didn't try it yet.