XML Viewer Plugin ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    XML Viewer Plugin ?

    Hi all !

    is anyone there currently working on an BC2 XML viewer plugin ?
    I need to compare numerous XML files which are re-formatted by different editors quite often, while their contents sometimes hardly changes. Comparing them on a text-basis is a nightmare.
    I am researching XML compare tools currently, but I would prefer a BC2 plugin, so I don't have to get used to (not to mention register) another tool.


    Regards from Hamburg, Germany,


    CU Steve
  • Zoë
    Team Scooter
    • Oct 2007
    • 2666

    #2
    Re: XML Viewer Plugin ?

    Not that I'm aware of. We've looked into it, but it's not something we have time for right now.
    Zoë P Scooter Software

    Comment

    • jdmarch
      Fanatic
      • Oct 2007
      • 143

      #3
      Re: XML Viewer Plugin ?

      I agree, Steve, this would be very handy. With XML becoming ubiquitous, I'm sure we'll get it some day. (No, this is not a veiled hint, just an expression of optimism!)

      Comment

      • coveneym
        New User
        • Jan 2004
        • 2

        #4
        Re: XML Viewer Plugin ?

        I agree, Steve, this would be very handy. With XML becoming ubiquitous, I'm sure we'll get it some day. (No, this is not a veiled hint, just an expression of optimism!)
        I would just like to add support to this "expression of optimism")

        Comment

        • Guest's Avatar

          #5
          Re: XML Viewer Plugin ?

          I too would like to chime in my support of an XML comparison tool. I've used BC and found it to be well thought out with a great interface. My company is looking for a compare tool that an also handle XML ... I was HOPING that BC could do the job.

          Comment

          • pjeaton
            Visitor
            • Mar 2004
            • 9

            #6
            Re: XML Viewer Plugin ?

            I would like this too. I work with a lot of PeopleSoft XML files. They can be several hundreds of MB in size and are a pain to view.

            Comment

            • Guest's Avatar

              #7
              Re: XML Viewer Plugin ?

              Best regards from Aachen, Germany, Pro-XML-Support-League Supporter

              Comment

              • Guest's Avatar

                #8
                Re: XML Viewer Plugin ?

                As workaround to compare a few XML files following procedure works:
                - Open file in an XML viewer, e.g. Mozilla Firebird browser,
                - copy & paste formatted XML code into Notepad TXT files,
                - compare TXT files in bc2
                The comparsion results are perfect.

                One fast and easy way for the bc2 development team might be the inclusion of a GNU plugin using the GNU mozilla code.

                Regards from Aachen, Germany
                EcconValdez

                Comment

                • Guest's Avatar

                  #9
                  Re: XML Viewer Plugin ?

                  Hi, I found this topic whilst looking for something similar. Having found that there's no XML BC plugin, I wondered about other ways to do it. Then I spotted the "Conversion" tab in the BC rules.

                  This seems to work:

                  <ul type="square">[*]Install HTML Tidy. I'm assuming below that it's in "C:\Program Files\HTML Tidy\"[*] Save the following text as "C:\Program Files\HTML Tidy\xml.cfg"

                  // HTML Tidy configuration file for XML
                  quiet: yes
                  tidy-mark: no
                  input-xml: yes
                  output-xml: yes
                  indent: auto
                  indent-attributes: yes
                  literal-attributes: yes
                  char-encoding: raw
                  [*] In BC Options\Rules, clone the XML rules as "Tidy XML" and edit the new rules (or just edit the existing ones).[*] On the "Conversion" tab, select "External Program" and paste the following text under "Run when loading:"

                  C:\Program Files\HTMLTidy\tidy.exe -config "C:\Program Files\HTMLTidy\xml.cfg" -o %t %s[/list]

                  Job done!

                  Hope that helps. It helped me!

                  Comment

                  • Guest's Avatar

                    #10
                    Re: XML Viewer Plugin ?

                    <ul type="square">[*]Install HTML Tidy. I'm assuming below that it's in "C:\Program Files\HTML Tidy\"[*] Save the following text as "C:\Program Files\HTML Tidy\xml.cfg"
                    <snip>[*] On the "Conversion" tab, select "External Program" and paste the following text under "Run when loading:"

                    C:\Program Files\HTMLTidy\tidy.exe -config "C:\Program Files\HTMLTidy\xml.cfg" -o %t %s[/list]
                    Well, it will work if you actually get all the paths right!
                    s/HTML Tidy/HTMLTidy

                    Comment

                    • Guest's Avatar

                      #11
                      Re: XML Viewer Plugin ?

                      Thanks for the tip. I'll try it this way.
                      Regards from Aachen, Eccon Valdez

                      Comment

                      • Erik
                        Team Scooter
                        • Oct 2007
                        • 437

                        #12
                        XML Tidy rules available

                        I have added XML Tidy to the HTML Tidy download, which is available on our Additional Rules Definitions page.
                        Erik Scooter Software

                        Comment

                        Working...