[Project_owners] Pretty print an XML string

Brian King brian at mozdev.org
Thu Apr 20 01:48:19 EDT 2006


Jon Stritar wrote:
> Do you know how to access the XML function from an XPCOM context?
> Firefox just reports the following error:
> 
> Error: xml is a reserved identifier

It seems to only accept well formed nodes, without the XML declaration. 
When I passed a string with the declaration, I got a similar error.

Perhaps you can post your code?

-- 
Brian King
www.mozdev.org - free project hosting for the Mozilla community


More information about the Project_owners mailing list