[Project_owners] Pretty print an XML string

Axel Hecht axel at pike.org
Thu Apr 20 17:09:51 EDT 2006


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?
> 

I recall a bug on that, but I can't find it at the moment.

Regarding the components, E4X' XML object (uppercase) is exposed in 
components, but I think starting 1.5 only.

The DOM<->E4X wrapper stuff is still to be done, there is a bug on that.

Axel


More information about the Project_owners mailing list