XmlDecoder Class

HttpServer.dll

This decoder converts XML documents to form items. Each element becomes a subitem in the form, and each attribute becomes an item.

Namespace:  HttpServer.FormDecoders
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class XmlDecoder : FormDecoder
Visual Basic (Declaration)
Public Class XmlDecoder _
	Implements FormDecoder
Visual C++
public ref class XmlDecoder : FormDecoder

Remarks

The original xml document is stored in form["__xml__"].Value.

Examples

// xml: somethingdata // result: // form["hello"].Value = "something" // form["hello"]["id"].Value = 1 // form["hello"]["world]["id"].Value = 1 // form["hello"]["world"].Value = "data"

Inheritance Hierarchy

System..::.Object
  HttpServer.FormDecoders..::.XmlDecoder

See Also