• 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!

XML Prettifiers

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

    XML Prettifiers

    Anyone know of a web based tool that can reformat XML into something a bit more comfortable to read?

    Thanks
    Coffee's for closers

    #2
    Have you considered XSLT?

    Comment


      #3
      not suitable - i just need to take an xml file with out any formatting - ie its all on 1 line and add some white space so its a bit more readable and editable in a regular text editor.
      Coffee's for closers

      Comment


        #4
        Originally posted by Spacecadet
        not suitable - i just need to take an xml file with out any formatting - ie its all on 1 line and add some white space so its a bit more readable and editable in a regular text editor.
        XML Spy (can download for a trial period) does that and also will put it into a nice grid format if you want. http://www.altova.com/products/xmlspy/xml_editor.html

        HTH

        Comment


          #5
          Originally posted by Spacecadet
          Anyone know of a web based tool that can reformat XML into something a bit more comfortable to read?

          Thanks
          http://tools.decisionsoft.com/xmlpp.html

          Comment


            #6
            Originally posted by King Cnvt
            10/10
            you might be a king cnvt but by God you get results

            Cheers, thats exactly what i was looking for!

            Incidently, i found this and was part way through building a quick ASP application to use it:

            http://google-code-prettify.googleco...ME.html#voila1

            Uses javascript to prettify C and friends, Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles
            Coffee's for closers

            Comment


              #7
              Does Internet Explorer count?

              Comment


                #8
                Originally posted by thunderlizard
                Does Internet Explorer count?
                that was a backup plan, but when you copy and paste else where you've got all the "-"s added to the file.

                That link also gives access to the source code, i just need to build a little xml file converter now. Unformatted file in, formatted file out
                Coffee's for closers

                Comment

                Working...
                X