Yeah sure, if you know what they are.

----- Original Message ----- 
From: "Josh Gormley" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, November 04, 2005 5:26 PM
Subject: Re: [Flashcoders] XML processing instructions


I guess I could use the string that is passed to the onData function  
and remove any processing tags before the string is parsed as XML  Is  
that what you were suggesting?

Josh


On Nov 4, 2005, at 3:44 PM, JesterXL wrote:

> Use onData instead of onLoad.
>
> my_xml = new XML();
> my_xml.onData = function(str)
> {
>     if(str.substr(0, 1) != "?")
>     {
>         this.loaded = true;
>         this.parseXML(str);
>         this.onLoad(true);
>     }
> };

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to