Hi There.

What is the suggested approach to consume the resulting XML from
EnumerateResources in C# ?

So far I have succesfully retrieved the full list of resources and the
xmlDoc is ready.
Is there any way to process that XML in a friendly manner ? perhaps
serialization with XSD or MaestroAPI ?

Thanks for your comments

Diego


// Assuming $resourceService has already been initialized.
   MgResourceIdentifier mgResourceID = new
MgResourceIdentifier("Library://");
   MgByteReader mgByteReader =
resourceService.*EnumerateResources*(mgResourceID, -1, string.Empty);
   string echoBbyteReader = mgByteReader.ToString();

   XmlDocument xmlDoc = new XmlDocument();
   xmlDoc.LoadXml(echoBbyteReader);



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to