[Project_owners] Pretty print an XML string
jstritar at MIT.EDU
Wed Apr 19 20:12:01 EDT 2006
Oh, that sounds like the problem. I was passing the output of
nsIDOMSerializer (implemented by xmlserializer) directly to it.
On Thu, 2006-04-20 at 00:48 +0200, Brian King wrote:
> 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?
More information about the Project_owners