Merge two XSD's

Jun 12, 2009 at 4:45 PM



I have an XML file whose format is defined by two different XSD files:

<gpx xmlns:xsi="" xmlns:xsd="" version="1.0" creator="Groundspeak, Inc. All Rights Reserved." xsi:schemaLocation="" xmlns="">

How do I use Linq2XSD for accessing the file correctly given that the format is defined y gpx.xsd as well as cache.xsd?

I can use both as arguments for Linq2Xsd.exe, but the file generated then contains naturally two different namespaces. I can use gpx.Load() to load the xml file but how do I access the fields specific to cache.xsd?