>Yes! The SetProperty method only exists in the DOMDocument class. Somewhere in your application you are instantiating a DOMDocument object right? If you can get a reference to this object from your method, it is just a matter of make this ajustment. Something like this:
The last approach seems to be the one that works. The reason I prefer this is because other methods might send additional parameters that I would need to get a reference to.