Do you need to do the formatting yourself? Maybe you can just load it in an iframe and let it display the tree automatically.
A On 18/04/06, Brian King <[EMAIL PROTECTED]> wrote: > I want to convert an XML string to a nicer XML string for display > purposes. Something like: > > <a><b>hi</b></a> > > to > > <a> > <b>hi</b> > </a> > > I thought there was an interface in Mozilla to do this, but can't find > it. I could write a regex, but figured someone here has done something > similar before. Any tips? > > -- > Brian King > www.mozdev.org - free project hosting for the Mozilla community > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
