• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reverse engineer XML document

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Reverse engineer XML document

    Does anyone know of a good tool for reverse engineering an XML document to get the schema?

    TIA
    Knock first as I might be balancing my chakras.

    #2
    XMLSpy rings a bell.
    Where are we going? And what’s with this hand basket?

    Comment


      #3
      Originally posted by voodooflux View Post
      XMLSpy rings a bell.
      Site down.

      Next.
      Knock first as I might be balancing my chakras.

      Comment


        #4
        Originally posted by suityou01 View Post
        Does anyone know of a good tool for reverse engineering an XML document to get the schema?

        TIA
        You won't get a very good schema that way.

        It's like trying reverse engineer someones arsehole from a turd.

        But if you must:

        http://msdn.microsoft.com/en-us/xml/bb190622.aspx

        Inference tool
        Last edited by DimPrawn; 22 May 2009, 10:53.

        Comment


          #5
          Originally posted by suityou01 View Post
          Site down.

          Next.
          O'rly?

          Try again.
          Where are we going? And what’s with this hand basket?

          Comment


            #6
            Originally posted by voodooflux View Post
            O'rly?

            Try again.
            The swines!
            Knock first as I might be balancing my chakras.

            Comment


              #7
              Originally posted by DimPrawn View Post
              You won't get a very good schema that way.

              It's like trying reverse engineer someones arsehole from a turd.

              But if you must:

              http://msdn.microsoft.com/en-us/xml/bb190622.aspx

              Inference tool
              Too good mate.

              <wiping coffee from monitor while one hand typing>
              Knock first as I might be balancing my chakras.

              Comment


                #8
                Just download the schema specified by the SchemaLocation attribute in the document..



                Originally posted by DimPrawn View Post
                It's like trying reverse engineer someones arsehole from a turd.
                That analogy is a bit too close for comfort

                Comment


                  #9
                  Originally posted by DimPrawn View Post
                  You won't get a very good schema that way.

                  It's like trying reverse engineer someones arsehole from a turd.

                  But if you must:

                  http://msdn.microsoft.com/en-us/xml/bb190622.aspx

                  Inference tool
                  Bookmarked. Nice find.

                  Comment


                    #10
                    You might find OxygenXML useful for this as well.
                    What's more there's a not very widely used schema language called XDefinition, which basically uses instance documents to describe schema rules and from there you could perhaps move to a more popular one like RelaxNG.
                    But in any case what the problem with you having a quick look to see if thee isn't an existing one, or failing that, writing a new one, sort of manually?

                    Comment

                    Working...
                    X