XML Schema

Discussions

XML & Web services: XML Schema

  1. XML Schema (1 messages)

    Hello.

    I have several .xsd files that define different elements.

    I need an element from one file to refer to an element in another.

    Is there a way to do that.

    Thanks for your help.

    Threaded Messages (1)

  2. XML Schema[ Go to top ]

    XML Schema has an "include" mechanism and an "import" mechanism. If all the types are in the same namespace you use include. Otherwise you use import.
    See the XSD spec for details, section 4.1 and 5.4

    Hope that helps
    Gal