Yes, I do have the need for that.  That is why I asked.  I auto-generate the 
circuit.xml files, but I want other developers to be able to manually edit them 
if needed without any difficulty.

Kerry, your suggestion seems to do the trick.  Thank you.

Johnny

>> Is there a way to format the xml string before writing back 
>> to the file?  The problem I have is when I use 
>> toString(xmlObject) to convert the xml object to string to 
>> write to a file, it becomes one long ugly string.  Is there 
>> an easy to format it with indentation and all?
>
>I would strongly recommend that you not attempt to format the XML string.
>There's no need to do that.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized 
>instruction at our training centers in Washington DC, Atlanta, 
>Chicago, Baltimore, Northern Virginia, or on-site at your location. 
>Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207563
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to