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

Reply via email to