Class XhtmlDocumentUtility
Static members for XHTML Documents.
public static class XhtmlDocumentUtility
- Inheritance
-
XhtmlDocumentUtility
- Inherited Members
Properties
Xhtml
XHTML Namespace
public static XNamespace Xhtml { get; }
Property Value
Methods
GetDocument(XDocument?, string?)
Loads the XhtmlDocument.
public static XhtmlDocument? GetDocument(XDocument? document, string? webPath)
Parameters
Returns
GetDocument(XDocument?, string?, bool)
Loads the XhtmlDocument.
public static XhtmlDocument? GetDocument(XDocument? document, string? webPath, bool useXhtmlNamespace)
Parameters
documentXDocumentThe XML document.
webPathstringThe public web path.
useXhtmlNamespaceboolif set to
trueuse XHTML namespace (trueby default).
Returns
LoadDocument(string?, string?)
Loads the XhtmlDocument.
public static XhtmlDocument? LoadDocument(string? pathToDocument, string? webPath)
Parameters
Returns
WriteDocumentIndex(string?, string?, string?, string?, string?)
Writes the index of XHTML documents.
public static void WriteDocumentIndex(string? indexFileName, string? indexTitle, string? publicRoot, string? pathToDirectory, string? pathToOutput)