Oh, that sounds like the problem. I was passing the output of nsIDOMSerializer (implemented by xmlserializer) directly to it.
XML(serializer.serializeToString(this._doc)).toXMLString(); Jon 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? > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
