Mozilla finally has XML pretty print
As I was poking around in the Mozilla 1.2a release notes, I noticed this paragraph:
- Preliminary XML prettyprinting, similar to IEs default-view for XML is now available. In this release the feature does not work in installer-builds you need to get a .zip distribution. However since the feature for now affects the DOM for unstyled XML-pages it is disabled by default. To enable it, add user_pref("layout.xml.prettyprint", true); to your user.js. (Bug 64945)
I tried it and it worked! I've been waiting for this feature for a while now, as I deal with a lot of XML in my work (shameless plug for stxx. Now you can use XML/XSL in Struts!) so this is a nice feature to finally have enabled.
If you want to try it and see how it works, follow these links:
http://www.w3.org/Math/characters/entities.xsl
http://www.w3.org/Math/characters/characters.xsl
http://www.w3.org/Math/characters/unicode.xml
Comments
Won't work on my 1.2a, WinXP... Strange ?!
I can't get this to work either under Debian Linux. Under Windows XP it works without any problems.
Doesn't work on my NT.
Works for me with Phoenix 0.4 on
both Linux and Win2K, BUT YOU HAVE
to sometimes reload to get it
to "take". Sometimes, the first
view is text() only, but a reload
makes the correct page eventually
appear. (Bug?)
You can use the regular installer-builds. If you don't have a user.js in your profile, just create one and put the user_pref(); in it.
Post a Comment
This discussion has been closed.