Custom XML Provider samples
Download the following samples to the sites App_Code folder.
-
HelloWorldXmlProvider.cs
Uses the XmlWriter functions like WriteStartDocument() and WriteStartElement() to create a simple XML document.
-
ParameterDumper.cs
Returns all input parameters as XML.
-
XmlFileProvider.cs
Returns the XML file defined by the Data Query parameter webPath (i.e. /App_Data/test.xml)