I am trying to write a web service that gets a list of users from
ActiveDirectory and then returns them as an XmlNode that can be consumed by
InfoPath.
I am having problems finding a tutorial that will show me how to create an
XML Node from scratch and build it out as I cycle through the
SearchResultCollection objects from AD.
Can someone point me in the right direction?
Joe
Keenan Newton - 16 Feb 2005 19:03 GMT
The System.Xml Namespace is where you will find everythign you need.
the classes you want are the XmlDocument, XmlElement, and XmlAttribute.
The two primary onces you will use are the XmlElement, and
XmlAttribute. XmlAttribute, and XmlElement inherit from XmlNode and
the XmlNode class ad a ChildNodes collection. I hope this willget you
on the right path