Guys,
I´ve found a way!
I was having problems because the component was returning a XmlDocument (System.Xml.XmlDocument).
THe solution is :
doc is string
oCon is object CLASSNAME dynamic = new CLASSNAME()
//use the System.Xml assembly
oXML is object "System.Xml.XmlDocument" dynamic
oXML = oCon:MethodName()
doc = oXML:InnerXml
Now we have a string that we can treat freely!
thanks,