Axiom Home Page
In my job I have to often troubleshoot XML files to make sure the tree structure is in tact. I've noticed recently on my XP machine at work that I am unable to collapse/expand the tree stucture within an XML by clicking on the - or + sections.

Anyone have any ideas, another person on my team is fine. We are using IE 6 still at work.
Posted By: CV Re: Question for folks that work with XML files. - 02/23/09 04:01 PM
If you can't collapse it for more than four hours, call your doctor.
Randy,

Are you saying that IE6 is displaying the XML source, and is not showing the expand/collapse view at all? How are you opening the XML files? Are you using the file:// method? If not, try changing the URL so file://path/to/your/file.
Hey Peter,

I save the XML file on my desktop for troubleshooting. It opens ok by double clicking, and shows the xml code within my browser as it should. All the sections are expanded, but when I click on the - "minus" signs to collapse any give section, nothing happens.

Below is a portion, of one of the XML files, I should be able to click on the - signs and collapse that section. Others can do it just fine, and I used to be able to do it...

- <IWFWORK SOURCEAPP="PFGWFDTR" TRIES="0">
- <DOCDATA>
- <PACKET BATCHNAME="IND 090219#980 15333823802" PACKETNUM="9">
<PROCESSEDBYIAFLAG>1</PROCESSEDBYIAFLAG>
<FOLDERID SYSTEM="PFGCM">90A10DBFA2839AB80135D18B2E5E2D8A</FOLDERID>
<LOB>Annuity</LOB>
<STARTWFFLAG>1</STARTWFFLAG>
<TRANSTYPE>Annuity - Fixed with Money</TRANSTYPE>
<RUSHLEVEL>Rush</RUSHLEVEL>
<SKIPVSTATUSUPDATEFLAG>0</SKIPVSTATUSUPDATEFLAG>
<FIELDOFFICE>01471</FIELDOFFICE>
<STATE>ME</STATE>
<INDEXUSERID>B218752</INDEXUSERID>
<INDEXDATE>2009-02-19</INDEXDATE>
<INDEXTIME>16.21.02</INDEXTIME>
</PACKET>
- <DOCUMENTS>
- <DOCUMENT DOCNUM="30">
<DOCID SYSTEM="IA">7302</DOCID>
<DOCID SYSTEM="CMSC">IND 090219#980 15333823802Pckt9~0841F3E64BB64CE6B6F4B26023D71B87.tif</DOCID>
I can't help you. \:\( Have you tried resetting IE6 to its defaults?
Or upgrade to IE7, which is pretty much our answer for mysterious IE6 problems.
yep peter, tried it done it,,,,

ken, nope, IE 7 is not blessed yet in our large company,
figured it out...

Tools/Internet Options/Advanced tab/Check the "Allow active content to run in files on My Computer" option under the Security section.

I am now able to expand/collapse sections of the XML tree in IW again, yippy.

http://tinyurl.com/afvb7z
I deal with XML files from time to time at my job. We use a program called UltraEdit to work with all sorts of text files, including XML. Works wonders with all types of text files; XML, PHP, HTML, C#, etc. It is a very good text editor, and I'd highly recommend it to anyone that needs to pick apart text files.

I don't know how you keep your sanity trying to diagnose XML problems by using IE.
You can also try XML-Notepad
© Axiom Message Boards