Default XML stylesheet

User Help for Mozilla Firefox
Post Reply
stefano merluzzo
Guest

Default XML stylesheet

Post by stefano merluzzo »

I need to customize the way Firefox renders XML files.

Could anyone indicate what's the default XSLT stylesheet used by Firefox to render such files, please?
Unarmed
Posts: 4941
Joined: July 31st, 2003, 1:26 pm

Post by Unarmed »

chrome://global/content/xml/XMLPrettyPrint.xsl

The file can be located in the toolkit.jar archive (in content/global/xml/) in the chrome subdirectory of the browser's application directory.
stefano merluzzo
Guest

Default XML stylesheet

Post by stefano merluzzo »

Unarmed wrote:chrome://global/content/xml/XMLPrettyPrint.xsl

The file can be located in the toolkit.jar archive (in content/global/xml/) in the chrome subdirectory of the browser's application directory.


So, in order to modify the default XML stylesheet, I need to edit the source code of toolkit.java and than recompile... I got it?
Post Reply