Hi!
Kennt jemand ne einfache Möglichkeit, XML in XSD umzuwandeln (und umgekehrt) ?
Ich habs mit nem DataSet und ReadXmlSchema... probiert, das ging zwar, aber ich habe bei komplexeren XMLs Probleme mit "nested Tables", weil XML halt in Tabellenform umgewandelt wird...
Es geht darum: ich muss aus XML-Dateien und Schematas die Struktur auslesen (~ Tags ohne Daten).
Deshalb wollte ich gleich die Schemata der XMLs auslesen und zusammen mit den fertig gelieferten verarbeiten.
Ach ja, das ganze noch mit .NET 1.1
(ginge es mit .NET 2.0 notfalls?)
Ich hab grad auch das xsd.exe Tool von MS ausprobiert, passiert das selbe, auch in Visual Studio .NET 2003:
Error - The same table (Run) cannot be the child table in two nested relations
Gibts da noch Hilfe ?
Das Problem scheint zu sein, dass Tags enthalten sind, die andere enthalten, die wieder die drüberliegenden enthalten...
siehe Bild
(habe .NET auf 2.0 gestellt, da es damit wenigsten halb klappt)
MfG
Matg40