Converts [xml]
to XDocument
.
Takes an [xml]
in and puts an XDocument
to the object pipeline.
$xd = [xml]"<Document />" | ConvertTo-XDocument
public class ConvertToXDocumentCommand : PSCmdlet
name | description |
---|---|
ConvertToXDocumentCommand() | The default constructor. |
XmlDocument { get; set; } | Input as [xml] value |
override ProcessRecord() | Create transformed document |