Table of Contents

Class OpmlUtility

Namespace
Songhay.Xml
Assembly
SonghayCore.dll

Static helpers for OPML.

public static class OpmlUtility
Inheritance
OpmlUtility
Inherited Members

Properties

rx

Conventional namespace for OPML documents.

public static XNamespace rx { get; }

Property Value

XNamespace

Methods

GetBody(XContainer?, XNamespace?)

Gets the OpmlBody.

public static OpmlBody? GetBody(XContainer? root, XNamespace? ns)

Parameters

root XContainer

The root.

ns XNamespace

The namespace.

Returns

OpmlBody

GetDocument(string?)

Gets the OpmlDocument.

public static OpmlDocument? GetDocument(string? path)

Parameters

path string

The path.

Returns

OpmlDocument

GetDocument(string?, XNamespace?)

Gets the OpmlDocument.

public static OpmlDocument? GetDocument(string? xml, XNamespace? ns)

Parameters

xml string

The XML.

ns XNamespace

The ns.

Returns

OpmlDocument

GetDocument(XContainer?, XNamespace?)

Gets the OpmlDocument.

public static OpmlDocument? GetDocument(XContainer? root, XNamespace? ns)

Parameters

root XContainer

The root.

ns XNamespace

The conventional namespace.

Returns

OpmlDocument

GetHead(XContainer?, XNamespace?)

Gets the OpmlHead.

public static OpmlHead? GetHead(XContainer? root, XNamespace? ns)

Parameters

root XContainer

The root.

ns XNamespace

The namespace.

Returns

OpmlHead

GetOutline(XElement?, XNamespace?)

Gets the OpmlOutline.

public static OpmlOutline? GetOutline(XElement? root, XNamespace? ns)

Parameters

root XElement

The root.

ns XNamespace

The namespace.

Returns

OpmlOutline

GetOutlines(XContainer?, XNamespace?)

Gets the array of OpmlOutline.

public static OpmlOutline[] GetOutlines(XContainer? root, XNamespace? ns)

Parameters

root XContainer

The root.

ns XNamespace

The namespace.

Returns

OpmlOutline[]