Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Tools for merging multiple xsd files

Tools for merging multiple xsd files

Scheduled Pinned Locked Moved XML / XSL
xmldatabasetoolshelpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cateyes99
    wrote on last edited by
    #1

    Hi, I've got a XML schema which is split to multiple XSD files. Now we need to merge them into one big XSD file. Anyone knows a good tools I can use to do it? Manually merging would be too cumbersome, and error-prone. Thanks very much.

    S U 2 Replies Last reply
    0
    • C cateyes99

      Hi, I've got a XML schema which is split to multiple XSD files. Now we need to merge them into one big XSD file. Anyone knows a good tools I can use to do it? Manually merging would be too cumbersome, and error-prone. Thanks very much.

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      How about the XML Schema include tag[^]?

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      C 1 Reply Last reply
      0
      • S Stuart Dootson

        How about the XML Schema include tag[^]?

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        C Offline
        C Offline
        cateyes99
        wrote on last edited by
        #3

        I don't think this include tag will solve my problem. What I'm facing is that - Case 1 I've got WSDL which reference multiple xsd files, I use soapUI to generate Web service, but soapUI cannot handle those multiple xsd references because the refrence URLs in all files are still referencing to web sites which are not available, unless I manually hack those URLs to reference local xsd files. But this is tedious, each time I have to do it when WSDL changes. So I need a tools to put all XSD file's content inside the WSDL file. So soapUI will accept it. - Case 2 I also initially had a big XSD file, but client asked to split a particular path in the main XSD to a seperate XSD file, and removed this from the main XSD then, for example. the initial Main XSD's struct:

        -root node - 1st level node 1 - 2nd level node 1
        - 2nd level node 2
        - 1st level node 2 - 2nd level node 3
        - 2nd level node 4
        - 2nd level node 5

        now, after split, it become two xsd files:

        -root node - 1st level node 1 - 2nd level node 1
        - 2nd level node 2
        - 1st level node 2 - 2nd level node 5

        -root node - 1st level node 2 - 2nd level node 3
        - 2nd level node 4

        the problem is that I use .net xsd.exe tool to generate classes from those xsd files. After splitting to 2 xsd files which are compensatory, when I use xsd.exe to generate classes again, it will get conflict classes for the root level and 1st level :( so I need a tool to merge these XSD files into a single one again for generating classes. Any ideas? :)

        1 Reply Last reply
        0
        • C cateyes99

          Hi, I've got a XML schema which is split to multiple XSD files. Now we need to merge them into one big XSD file. Anyone knows a good tools I can use to do it? Manually merging would be too cumbersome, and error-prone. Thanks very much.

          U Offline
          U Offline
          User 2486823
          wrote on last edited by
          #4

          Did you get any tool, if you have any solution please share with me. i am also facing similar problem. Thanks in advance

          J 1 Reply Last reply
          0
          • U User 2486823

            Did you get any tool, if you have any solution please share with me. i am also facing similar problem. Thanks in advance

            J Offline
            J Offline
            jepskiluv
            wrote on last edited by
            #5

            Also eager to hear any solution to this..

            C 1 Reply Last reply
            0
            • J jepskiluv

              Also eager to hear any solution to this..

              C Offline
              C Offline
              cateyes99
              wrote on last edited by
              #6

              It's extremely unfortunate. Obviously, there is severe lack of such a wonderful tool :-( I wish XML Spy could provide this kind of feature ...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups