View Full Version : 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
Craig
22-Dec-2003, 09:28 AM
Not that I'm aware of. We've looked into it, but it's not something we have time for right now.
jdmarch
29-Dec-2003, 06:27 PM
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!)
coveneym
05-Jan-2004, 06:41 AM
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")
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.
pjeaton
15-Mar-2004, 08:49 AM
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.
Best regards from Aachen, Germany, Pro-XML-Support-League Supporter
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
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 (http://tidy.sourceforge.net). 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!
<ul type="square"> Install HTML Tidy (http://tidy.sourceforge.net). 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
Thanks for the tip. I'll try it this way.
Regards from Aachen, Eccon Valdez
Erik
05-Apr-2004, 08:59 AM
I have added XML Tidy to the HTML Tidy download, which is available on our Additional Rules Definitions (http://www.scootersoftware.com/morerules) page.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.