C# Class YAML.XML

Adds support for converting an XML document to a YAML equivalent
Mostrar archivo Open project: agardiner/hfmcmd

Public Methods

Method Description
AddXML ( this yaml, XmlNode xml ) : void

Adds an XML node (and its children) to this YAML node.

ConvertXML ( string xml ) : Node

Converts an XML string to the equivalent YAML representation.

Method Details

AddXML() public static method

Adds an XML node (and its children) to this YAML node.
public static AddXML ( this yaml, XmlNode xml ) : void
yaml this
xml System.Xml.XmlNode
return void

ConvertXML() public static method

Converts an XML string to the equivalent YAML representation.
public static ConvertXML ( string xml ) : Node
xml string
return Node